msm: camera: sensor: Fix a bug in CCI with I2C write
Needed when the writes in array has continuous addresses.
In i2c write sequence, if there are continuous
addresses, we are using batch mode to do I2C operation
by clubbing them.
But if the length of batch goes beyond ‘payload_size’
we are returning error. Instead, we need to do multiple
batch operations with max of payload-size each time
without returning failure.
Change-Id: I9a0b5f4e9c6d86aadb6ee9987a81b09c1b9afc1a
Signed-off-by:
Vijay kumar Tumati <vtumati@codeaurora.org>
Loading
Please register or sign in to comment