]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gpio/omap: handle set_dataout reg capable IP on restore
authorNishanth Menon <nm@ti.com>
Fri, 9 Sep 2011 13:44:08 +0000 (19:14 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 11:28:45 +0000 (16:58 +0530)
commitf86bcc302a8c570dd0f5a50097a6af96a0e717c2
tree9cd40d3445205a6a7ce4959ac6be905cc5c68750
parent6d13eaaf33436e20d1a41122f28434bcc37999dc
gpio/omap: handle set_dataout reg capable IP on restore

GPIO IP revisions such as those used in OMAP4 have a set_dataout
while the previous revisions used a single dataout register.
Depending on what is available restore the dataout settings
to the right register.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c