]> www.infradead.org Git - users/willy/xarray.git/commit
at24: Support probing while in non-zero ACPI D state
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 18 Oct 2021 12:17:29 +0000 (15:17 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Nov 2021 18:03:55 +0000 (19:03 +0100)
commit1e96078e0ae456cda0e02afd42b9a2b3734f45ba
treefdaf9e99e24d6079bdd1d529347f52936a6c0f4e
parent434aa74bd770bc1a712c8431919eabe490dbe707
at24: Support probing while in non-zero ACPI D state

In certain use cases (where the chip is part of a camera module, and the
camera module is wired together with a camera privacy LED), powering on
the device during probe is undesirable. Add support for the at24 to
execute probe while being in ACPI D state other than 0 (which means fully
powered on).

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/misc/eeprom/at24.c