mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "msm: camera: sensor: extend I2C read/write size" into camera-kernel.lnx.4.0
This commit is contained in:
commit
adc097c23e
2 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_CCI_DEV_H_
|
||||
|
|
@ -50,8 +50,8 @@
|
|||
#define CCI_READ_MAX 256
|
||||
#define CCI_READ_MAX_V_1_2 0xE
|
||||
#define CCI_I2C_READ_MAX_RETRIES 3
|
||||
#define CCI_I2C_MAX_READ 10240
|
||||
#define CCI_I2C_MAX_WRITE 10240
|
||||
#define CCI_I2C_MAX_READ 20480
|
||||
#define CCI_I2C_MAX_WRITE 20480
|
||||
#define CCI_I2C_MAX_BYTE_COUNT 65535
|
||||
|
||||
#define CAMX_CCI_DEV_NAME "cam-cci-driver"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_SENSOR_I2C_H_
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
#define I2C_COMPARE_MATCH 0
|
||||
#define I2C_COMPARE_MISMATCH 1
|
||||
|
||||
#define I2C_REG_DATA_MAX (10*1024)
|
||||
#define I2C_REG_DATA_MAX (20*1024)
|
||||
|
||||
/**
|
||||
* @client: CCI client structure
|
||||
|
|
|
|||
Loading…
Reference in a new issue