media: hi556: Support device probe in non-zero ACPI D state
authorBingbu Cao <bingbu.cao@intel.com>
Wed, 15 Dec 2021 11:09:03 +0000 (12:09 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 16 Dec 2021 19:54:53 +0000 (20:54 +0100)
commitd1d2ed5925c370ac09fa6efd39f5f569f562e5b7
tree7a0538a3b29a5be95f252995147806365e2185a6
parent5525fd86ef7888f1eb279f27806ac9d4bb4303c2
media: hi556: Support device probe in non-zero ACPI D state

Tell ACPI device PM code that the driver supports the device being in
non-zero ACPI D state when the driver's probe function is entered.

Also do identification on the first access of the device, whether in probe
or when starting streaming.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Kao, Arec <arec.kao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/hi556.c