rockchip: gpio: Read the GPIO value correctly
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:08 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:35 +0000 (20:42 -0700)
commit7d0c2c3feb2edeff73654fb851de2580966e24c5
treee00116272b710de5f57f52767d0a3a7992477855
parent78a10b66566f313a2933ee5169494d44a1442578
rockchip: gpio: Read the GPIO value correctly

This function should return 0 or 1, not a mask. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/rk_gpio.c