]> git.karo-electronics.de Git - linux-beck.git/commit
Blackfin: fix bugs in GPIO resume code
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 8 Jul 2009 12:04:43 +0000 (12:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Jul 2009 05:52:42 +0000 (01:52 -0400)
commitc03c2a87347b849ec927d7d2ea79a6955e19f492
tree40c4fe316aa4ff92ad9a59f924d68b01726ca091
parent4c94c3e09adba9718218d6e3d35b2dfae81f3911
Blackfin: fix bugs in GPIO resume code

Change the bfin_gpio_pm_hibernate_restore() function to:
1) AND restored DATA with DIR (not OR) to get correct final state
2) Restore DATA before setting DIR to avoid glitches

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/bfin_gpio.c