mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user