summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/intel_scu_watchdog.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2017-12-01 19:37:12 +0100
committerBartosz Golaszewski <brgl@bgdev.pl>2017-12-03 20:50:31 +0100
commitf9ecc83f8d723372976df8eda3193726d7a24fcb (patch)
tree2acb2635716a7180477bdf5979a3b74354edd37c /drivers/watchdog/intel_scu_watchdog.c
parentLinux 4.15-rc2 (diff)
downloadlinux-f9ecc83f8d723372976df8eda3193726d7a24fcb.tar.xz
linux-f9ecc83f8d723372976df8eda3193726d7a24fcb.zip
eeprom: at24: fix I2C device selection for runtime PM
The at24 driver creates dummy I2C devices to access offsets in the chip that are outside the area supported using a single I2C address. It is not meaningful to use runtime PM to such devices; the system firmware (ACPI) does not know about these devices nor runtime PM was enabled for them. Always use the real device instead of the dummy ones. Fixes: 98e8201039af ("eeprom: at24: enable runtime pm support") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Tested-by: Sven Van Asbroeck on a 24AA16/24LC16B <svendev@arcx.com> [Bartosz: rebased on top of previous fixes for 4.15, tweaked the commit message] [Sven: fixed Bartosz's rebase] Signed-off-by: Sven Van Asbroeck <svendev@arcx.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/watchdog/intel_scu_watchdog.c')
0 files changed, 0 insertions, 0 deletions