media: ccs: Remove unnecessary delays from power-up sequence
SMIA nor CCS need these delays; remove them. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
ebc0bc270e
commit
f9947ed66a
|
@ -1309,14 +1309,12 @@ static int ccs_power_on(struct device *dev)
|
|||
dev_err(dev, "failed to enable vana regulator\n");
|
||||
return rval;
|
||||
}
|
||||
usleep_range(1000, 1000);
|
||||
|
||||
rval = clk_prepare_enable(sensor->ext_clk);
|
||||
if (rval < 0) {
|
||||
dev_dbg(dev, "failed to enable xclk\n");
|
||||
goto out_xclk_fail;
|
||||
}
|
||||
usleep_range(1000, 1000);
|
||||
|
||||
gpiod_set_value(sensor->reset, 0);
|
||||
gpiod_set_value(sensor->xshutdown, 1);
|
||||
|
|
Loading…
Reference in New Issue