media: ov5645: Fix write_reg return code
I2C transfer functions return number of successful operations (on success).
Do not return the received positive return code but instead return 0 on
success. The users of write_reg function already use this logic.
Signed-off-by:
Todor Tomov <todor.tomov@linaro.org>
Loading
Please sign in to comment