commit | d5da6900a833e45a361c90535176e64eec9b5158 | [log] [tgz] |
---|---|---|
author | Jonas Karlman <jonas@kwiboo.se> | Sun May 12 12:16:14 2024 +0000 |
committer | Kever Yang <kever.yang@rock-chips.com> | Fri Jun 14 17:02:49 2024 +0800 |
tree | 112ea17331e220c53e1660278ecf87bb17b4d53a | |
parent | 53dfd487c67fb8a62b853316c9a8f11df79ce1cc [diff] |
pinctrl: rockchip: rk3188: Fix support for IOMUX_GPIO_ONLY flag GPIO0_A0-A7 on RK3188 is IOMUX_GPIO_ONLY, however, trying to set gpio mux return an -ENOTSUPP error code. Fix this by validating using the mux function type and not the iomux flag. Based on Linux commit c4a532dee6b6 ("pinctrl: rockchip: handle first half of rk3188-bank0 correctly"). Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>