summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/Makefile
diff options
context:
space:
mode:
authorKevin Hilman2010-09-23 01:06:27 +0200
committerKevin Hilman2010-09-24 02:14:17 +0200
commit0aed043517ad4135cb458a46e9e99e21cbb59c69 (patch)
tree72fe011933f0e8a66fcb10026d9fe593c282d578 /arch/arm/mach-omap2/Makefile
parentOMAP4: pm: Change l3_main to l3_main_1 during bus device init (diff)
downloadkernel-qcow2-linux-0aed043517ad4135cb458a46e9e99e21cbb59c69.tar.gz
kernel-qcow2-linux-0aed043517ad4135cb458a46e9e99e21cbb59c69.tar.xz
kernel-qcow2-linux-0aed043517ad4135cb458a46e9e99e21cbb59c69.zip
OMAP: GPIO: ensure debounce clocks are disabled during idle/suspend
If a GPIO bank has more than one GPIO with debounce enabled, the debounce clock will not be fully disabled before going to idle/suspend. In the idle path, we just do a single clk_disable() of the bank's debounce clock. If there are multiple debounce-enabled GPIOs in the bank, that clocks usage count will be > 1, so the clk_disable() will not actually disable the clock. So the fix is to clk_disable() for every debounce-enabled GPIO in the bank (and an equivalent clk_enable() of course.) Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
0 files changed, 0 insertions, 0 deletions