summary refs log tree commit diff
path: root/drivers/ata/sata_gemini.c
diff options
context:
space:
mode:
authorSoeren Moch <smoch@web.de>2020-01-12 01:55:00 +0000
committerLee Jones <lee.jones@linaro.org>2020-03-30 07:35:27 +0100
commitd8f083a302f7f69eecd513ce1aa828cfff41f0cf (patch)
tree7cc8d37a9340f3ba63db6a5c5674ff6800d88a28 /drivers/ata/sata_gemini.c
parent9a153b0ed196cc6052ea6a32f517cbf5015c8d29 (diff)
downloadlinux-d8f083a302f7f69eecd513ce1aa828cfff41f0cf.tar.gz
mfd: rk808: Always use poweroff when requested
With the device tree property "rockchip,system-power-controller" we
explicitly request to use this PMIC to power off the system. So always
register our poweroff function, even if some other handler (probably
PSCI poweroff) was registered before.

This does tend to reveal a warning on shutdown due to the Rockchip I2C
driver not implementing an atomic transfer method, however since the
write to DEV_OFF takes effect immediately the I2C completion interrupt
is moot anyway, and as the very last thing written to the console it is
only visible to users going out of their way to capture serial output.

Signed-off-by: Soeren Moch <smoch@web.de>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
[ rm: note potential warning in commit message ]
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/ata/sata_gemini.c')
0 files changed, 0 insertions, 0 deletions