mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
media: i2c: sc850sl: fix dual pm_runtime_put in stop_stream
Signed-off-by: Yuefu Su <yuefu.su@rock-chips.com> Change-Id: I9e6c989fb34b90cb4c7a36513ec44eb03071e6e3
This commit is contained in:
@@ -1479,7 +1479,6 @@ static int __sc850sl_stop_stream(struct sc850sl *sc850sl)
|
||||
sc850sl->has_init_exp = false;
|
||||
if (sc850sl->is_thunderboot) {
|
||||
sc850sl->is_first_streamoff = true;
|
||||
pm_runtime_put(&sc850sl->client->dev);
|
||||
}
|
||||
return sc850sl_write_reg(sc850sl->client, SC850SL_REG_CTRL_MODE,
|
||||
SC850SL_REG_VALUE_08BIT, SC850SL_MODE_SW_STANDBY);
|
||||
|
||||
Reference in New Issue
Block a user