]> git.baikalelectronics.ru Git - kernel.git/commit
media: ccs: Hardware requires a delay after starting the clock of lifting reset
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Oct 2020 16:24:39 +0000 (18:24 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 16:52:04 +0000 (17:52 +0100)
commit6cc38aaf90b6facc480314c3c9782ef5171bb7cd
treeba0b8aba00cb73c7682b3474aaae57d9d9e64d98
parent2eea6b0c764fca305e8ddb9d4614092ec2e85456
media: ccs: Hardware requires a delay after starting the clock of lifting reset

A CCS compliant device requires a delay before the first I²C transaction
after pulling xshutdown up or starting the external clock. This is what
the driver does. However, if neither is actually there, there's no need
for the delay.

This also has the effect of removing an unnecessary delay on ACPI systems
where ACPI is responsible for the power-up sequence.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs/ccs-core.c