summaryrefslogtreecommitdiff
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2021-09-14 01:49:24 +0300
committerBartosz Golaszewski <brgl@bgdev.pl>2021-09-22 12:31:52 +0300
commitb22a4705e2e60f342b1b851c9ebdb3ea02f21f8f (patch)
treeb13d780651bc908406f133e1f86aad65c8d6602b /mm/memory-failure.c
parent0f562b7de99085935d76b00c41ab5caa26ff5c74 (diff)
downloadlinux-b22a4705e2e60f342b1b851c9ebdb3ea02f21f8f.tar.xz
gpio/rockchip: fix get_direction value handling
The function uses the newly introduced rockchip_gpio_readl_bit() which directly returns the actual value of the requeste bit. So using the existing bit-wise check for the bit inside the value will always return 0. Fix this by dropping the bit manipulation on the result. Fixes: 3bcbd1a85b68 ("gpio/rockchip: support next version gpio controller") Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions