On Tue, Oct 13, 2015 at 3:32 PM, Sudeep Holla <sudeep.holla@xxxxxxx> wrote:
The keyboard driver for GPIO buttons(gpio-keys) checks for one of the
two boolean properties to enable gpio buttons as wakeup source:
1. "wakeup-source" or
2. the legacy "gpio-key,wakeup"
However juno, ste-snowball and emev2-kzm9d dts file have a undetected
"wakeup" property to indicate the wakeup source.
This patch fixes it by making use of "wakeup-source" property.
Cc: Simon Horman <horms@xxxxxxxxxxxx>
Cc: Magnus Damm <magnus.damm@xxxxxxxxx>
Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>
OK nice,
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>