media: i2c: ov2685: Add print for power on write failed
authorLuca Weiss <luca@z3ntu.xyz>
Wed, 1 Feb 2023 17:06:59 +0000 (18:06 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Mar 2023 14:57:07 +0000 (15:57 +0100)
commit74b506cb4fa7bffb18c51837c237bbb0758ecc5e
treedecd23e1ca799ab7ddb2954bae82c0b64ef61fc5
parentef586f262c1c86c3a1a649a6419dc2e0ac1136d1
media: i2c: ov2685: Add print for power on write failed

If the sensor doens't power up correctly, for example due to incorrect
devicetree description, the power up i2c writes will fail.

Add an error print for this situation.

Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov2685.c