[ARM] 5017/1: pxa3xx: Report unsupported wakeup sources in pxa3xx_set_wake()
authorMark Brown <broonie@sirena.org.uk>
Wed, 23 Apr 2008 09:28:18 +0000 (10:28 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 24 Apr 2008 20:56:35 +0000 (21:56 +0100)
commite12177073f28419f1f7eb8dbb93aab6b712c7c04
tree6fdc84df41ae04e978229bacdeeab2ffb528c8b6
parente03e0590b2b29b62f0480524090e469baa13d5f5
[ARM] 5017/1: pxa3xx: Report unsupported wakeup sources in pxa3xx_set_wake()

pxa3xx_set_wake() silently accepts unsupported wake sources, causing
users to believe that they have succesfully configured sources that they
haven't.  Fail the operation instead.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: eric miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/pxa3xx.c