]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: bcm281xx: Fix return value of bcm_kona_gpio_get()
authorMarkus Mayer <markus.mayer@linaro.org>
Thu, 21 Nov 2013 23:12:46 +0000 (15:12 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Nov 2013 14:01:03 +0000 (15:01 +0100)
commit22618058b9bdc64d5ef7b9dd09694ef348999098
tree20ed846bfb2fb8c21375642f62402bf04c2d33e5
parent8e68b7852c4cd430ec3b3158e5cbf260f392fa5f
gpio: bcm281xx: Fix return value of bcm_kona_gpio_get()

We need to return the corresponding bit for a particular GPIO. This bit
contains shift not mask.

Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c