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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);