Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3a2bdc26 authored by Vishalsingh Hajeri's avatar Vishalsingh Hajeri
Browse files

msm: camera: sensor: Fix sensor driver entering infinite loop



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: I8eb55102becf372f358b2ac2a2e80a563a34e577
Signed-off-by: default avatarVishalsingh Hajeri <vhajeri@codeaurora.org>
parent 4c0f4bc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment