media: ov13b10: Support device probe in non-zero ACPI D state
authorArec Kao <arec.kao@intel.com>
Tue, 14 Mar 2023 12:14:36 +0000 (13:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Mar 2023 15:02:25 +0000 (16:02 +0100)
commit1af2f618acc1486e3b46cb54cb4891d47bb80c61
treed732db2d54d5ec9aa20e46dd8a258072042fa62a
parent859128ab6f0fc5aee59f6c4c839439cd86a9feaa
media: ov13b10: 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: Arec Kao <arec.kao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov13b10.c