mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
media: i2c: dw9800v add sleep to wait power on
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I8cbf147d28b80caf2dbe258709b13f1a0c309632
This commit is contained in:
@@ -713,6 +713,7 @@ static int __dw9800v_set_power(struct dw9800v_device *dw9800v, bool on)
|
||||
goto unlock_and_return;
|
||||
}
|
||||
dw9800v->power_on = true;
|
||||
usleep_range(5000, 6000);
|
||||
} else {
|
||||
ret = regulator_disable(dw9800v->supply);
|
||||
if (ret < 0) {
|
||||
|
||||
Reference in New Issue
Block a user