Blackfin: don't support keypad wakeup from hibernate
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 25 Feb 2010 13:32:24 +0000 (13:32 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:53 +0000 (00:30 -0500)
commitae4a8c1903e5d0ec19dcb257ec922b888941abba
treefeb7915f56d54b2517132f894b65e948c93039d3
parentef8873e06efdc023ee2e7f708787c79b78df3fcd
Blackfin: don't support keypad wakeup from hibernate

The on-chip keypad peripheral requires different registers to be setup
depending on the standby type (standby vs hibernation).  However, since
the power management framework doesn't differentiate between these types,
the driver doesn't know which registers to program and subsequently it
avoids doing so.

Always enabling the keyboard wakeup source causes misbehavior when the
pins are not assigned to the keypad.  If they happen to drive a certain
level, they'll trigger a wake up event which is not wanted.  So until
the aforementioned issue can be sorted out, drop support for the
wakeup source completely.

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