msm: camera: eeprom: Correct EEPROM Read return
EEPROM Read using QUP I2C returns the number of bytes
read from the EEPROM, While CCI/SPI returns zero value.
Return Error only when if the value is less than zero.
Change-Id: I9de2d83ed7cc3a0319f4ed841ae2ba256732cca3
Signed-off-by:
Shankar Ravi <rshankar@codeaurora.org>
Loading
Please register or sign in to comment