Commit f9947ed6 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: ccs: Remove unnecessary delays from power-up sequence

SMIA nor CCS need these delays; remove them.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent ebc0bc27
...@@ -1309,14 +1309,12 @@ static int ccs_power_on(struct device *dev) ...@@ -1309,14 +1309,12 @@ static int ccs_power_on(struct device *dev)
dev_err(dev, "failed to enable vana regulator\n"); dev_err(dev, "failed to enable vana regulator\n");
return rval; return rval;
} }
usleep_range(1000, 1000);
rval = clk_prepare_enable(sensor->ext_clk); rval = clk_prepare_enable(sensor->ext_clk);
if (rval < 0) { if (rval < 0) {
dev_dbg(dev, "failed to enable xclk\n"); dev_dbg(dev, "failed to enable xclk\n");
goto out_xclk_fail; goto out_xclk_fail;
} }
usleep_range(1000, 1000);
gpiod_set_value(sensor->reset, 0); gpiod_set_value(sensor->reset, 0);
gpiod_set_value(sensor->xshutdown, 1); gpiod_set_value(sensor->xshutdown, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment