Message ID | 20230129-ov2685-improvements-v2-2-210400f2b63e@z3ntu.xyz |
---|---|
State | Accepted |
Commit | 74b506cb4fa7bffb18c51837c237bbb0758ecc5e |
Headers | show |
Series | Improvements for OmniVision OV2685 driver | expand |
diff --git a/drivers/media/i2c/ov2685.c b/drivers/media/i2c/ov2685.c index a422f4c8a2eb..844a91dbc8e5 100644 --- a/drivers/media/i2c/ov2685.c +++ b/drivers/media/i2c/ov2685.c @@ -419,8 +419,10 @@ static int __ov2685_power_on(struct ov2685 *ov2685) * writing register before .s_stream() as a workaround */ ret = ov2685_write_array(ov2685->client, ov2685->cur_mode->reg_list); - if (ret) + if (ret) { + dev_err(dev, "Failed to set regs for power on\n"); goto disable_supplies; + } return 0;