OSDN Git Service

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)
commit2fed6c84dc6fb9e374466d8a0ba86eb6ca7868f8
treeba0b8aba00cb73c7682b3474aaae57d9d9e64d98
parent51fc72e541b44d5ba52673b1e2b492ffc164b71c
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