aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mcp23s08.c
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-04-04 15:16:15 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-04-10 23:41:16 +0200
commita2797beadfcb5a0974a30929b613b4d1adb023d1 (patch)
tree4f3e62d1353bfbf2c05798d02d0dd2a06149e9fc /drivers/gpio/gpio-mcp23s08.c
parentgpio/omap: optimise interrupt service routine (diff)
downloadlinux-dev-a2797beadfcb5a0974a30929b613b4d1adb023d1.tar.xz
linux-dev-a2797beadfcb5a0974a30929b613b4d1adb023d1.zip
gpio/omap: force restore if context loss is not detectable
When booting with device-tree the function pointer for detecting context loss is not populated. Ideally, the pm_runtime framework should be enhanced to allow a means for reporting context/state loss and we could avoid populating such function pointers altogether. In the interim until a generic non-device specific solution is in place, force a restore of the gpio bank when enabling the gpio controller. Adds a new device-tree property for the OMAP GPIO controller to indicate if the GPIO controller is located in a power-domain that never loses power and hence will always maintain its logic state. Signed-off-by: Jon Hunter <jon-hunter@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mcp23s08.c')
0 files changed, 0 insertions, 0 deletions