summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2021-09-14 01:49:23 +0300
committerBartosz Golaszewski <brgl@bgdev.pl>2021-09-22 12:31:43 +0300
commit0f562b7de99085935d76b00c41ab5caa26ff5c74 (patch)
treed0e1a301015e855cd120b1bdcdbba71851440274 /LICENSES
parentf6c35df22708438c94605b8896d2b4e4d5f342a3 (diff)
downloadlinux-0f562b7de99085935d76b00c41ab5caa26ff5c74.tar.xz
gpio/rockchip: extended debounce support is only available on v2
The gpio driver runs into issues on v1 gpio blocks, as the db_clk and the whole extended debounce support is only ever defined on v2. So checking for the IS_ERR on the db_clk is not enough, as it will be NULL on v1. Fix this by adding the needed condition for v2 first before checking the existence of the db_clk. This caused my rk3288-veyron-pinky to enter a reboot loop when it tried to enable the power-key as adc-key device. 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 'LICENSES')
0 files changed, 0 insertions, 0 deletions