]> bbs.cooldavid.org Git - net-next-2.6.git/commit
omap: GPIO: fix auto-disable of debounce clock
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 9 Jun 2010 10:53:07 +0000 (13:53 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Jun 2010 12:37:41 +0000 (15:37 +0300)
commitf7ec0b0b16c97a75a1b6aa8bc8b32548003f3339
tree406da69edcd8a997632255765edecae59da106a6
parent856f19145104dcab5b1415c1936c9aa81d83ba04
omap: GPIO: fix auto-disable of debounce clock

The addition of the new debounce code (commit
168ef3d9a56bd8bffe0ef4189c450888b4aefefe) broke the auto-disable of
debounce clocks on idle by forgetting to update the debounce clock
enable mask.

Add back the updating of bank->dbck_enable_mask so debounce clocks are
auto-disabled.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c