media: i2c: sc450ai fixes error of clk disable twice

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I87fab4101a598a99f20b936a851794049be1e269
This commit is contained in:
Zefa Chen
2025-01-07 11:18:55 +08:00
parent d5e5e440af
commit 072c7b2223

View File

@@ -1298,7 +1298,6 @@ static void __sc450ai_power_off(struct sc450ai *sc450ai)
if (!IS_ERR(sc450ai->pwdn_gpio))
gpiod_set_value_cansleep(sc450ai->pwdn_gpio, 0);
clk_disable_unprepare(sc450ai->xvclk);
if (!IS_ERR(sc450ai->reset_gpio))
gpiod_set_value_cansleep(sc450ai->reset_gpio, 0);
if (!IS_ERR_OR_NULL(sc450ai->pins_sleep)) {