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:
Sakari Ailus 2020-10-05 23:17:12 +02:00 committed by Mauro Carvalho Chehab
parent ebc0bc270e
commit f9947ed66a
1 changed files with 0 additions and 2 deletions

View File

@ -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);