Skip to content
Commit e2f0b005 authored by Markus Mayer's avatar Markus Mayer Committed by Linus Walleij
Browse files

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: default avatarMarkus Mayer <markus.mayer@linaro.org>
Reviewed-by: default avatarTim Kryger <tim.kryger@linaro.org>
Reviewed-by: default avatarMatt Porter <matt.porter@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2ba3154d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment