gpio: zynq: Fixed broken wakeup implementation
authorEzra Savard <ezra.savard@xilinx.com>
Fri, 29 Aug 2014 17:58:46 +0000 (10:58 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Sep 2014 16:23:29 +0000 (18:23 +0200)
commit59e22114b253aaa7caf14221df4dcf924d067922
treec63cb09d523d653526b0104a581e52db888e9f77
parenta19467788170c55104082ba82c8d50f54b9d6106
gpio: zynq: Fixed broken wakeup implementation

Use of unmask/mask in set_wake was an incorrect implementation. The new
implementation correctly sets wakeup for the gpio chip's IRQ so the gpio chip
will not sleep while wakeup-enabled gpio are in use.

Signed-off-by: Ezra Savard <ezra.savard@xilinx.com>
Reviewed-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-zynq.c