diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-10-05 23:17:12 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-03 12:27:32 +0100 |
commit | f9947ed66a87d019144675d43be548954ea36510 (patch) | |
tree | 7fbae9059acc4c9a4fe92bc4717670ddf44371a7 /drivers | |
parent | media: ccs: Use longer pre-I²C sleep for CCS compliant devices (diff) | |
download | linux-f9947ed66a87d019144675d43be548954ea36510.tar.xz linux-f9947ed66a87d019144675d43be548954ea36510.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/i2c/ccs/ccs-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/i2c/ccs/ccs-core.c b/drivers/media/i2c/ccs/ccs-core.c index 5014aa0d7969..89dc09587211 100644 --- a/drivers/media/i2c/ccs/ccs-core.c +++ b/drivers/media/i2c/ccs/ccs-core.c @@ -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); |