msm: camera: Fix CCI sequential write
This is a fix for 2b490d2c. The previous change is to allow writing a register address 0x00. To delete a condition of "if the address is 0", it removed the multiple data writing part for sequential address. The change introduces the issue from sequential addreess/data writing. (Instead of making a packet : <address_0x20><data_0xA><data_0xB><data_0xC>, It makes seperate packets with a wrong address. The addresses of all packets from the second are 0x0 that is not valid. : <address_0x20><data_0xA>, <address_0x0><data_0xB>, ...) For proper change, revert the sequential address/data writing part. But to write the packet which address is actually 0x0, add the seperate command of "MSM_CCI_I2C_WRITE_SEQ" and use this condition to differentiate between normal packet writing and sequential address writing. Change-Id: Ibd8f7fad2629504abfee1fa66b08258e04865530 Signed-off-by:Kyong Hwa Bae <kbae@codeaurora.org> Signed-off-by:
Viswanadha Raju Thotakura <viswanad@codeaurora.org>
Loading
Please register or sign in to comment