diff options
author | Dave Stevenson <dave.stevenson@raspberrypi.com> | 2022-11-28 17:22:49 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-12-06 08:25:02 +0100 |
commit | b2ea130c2541a8439fd9a288f319cb257ee8e9a0 (patch) | |
tree | 9dce5ebd99677a5a8c85474a57333481754fbc4d /drivers/media/i2c/Makefile | |
parent | media: i2c: ov9282: Make common_regs_list static (diff) | |
download | linux-b2ea130c2541a8439fd9a288f319cb257ee8e9a0.tar.xz linux-b2ea130c2541a8439fd9a288f319cb257ee8e9a0.zip |
media: i2c: ov9282: Add missing clk_disable_unprepare to error path
If ov9282_power_on failed the I2C write, it returned without releasing
clocks or regulators. Fix this.
Fixes: 6f7def3d8a65 ("media: i2c: ov9282: Add selection for CSI2 clock mode")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/i2c/Makefile')
0 files changed, 0 insertions, 0 deletions