Commit 7261851
pinctrl: ingenic: Fix bias config for X2000(E)
The ingenic_set_bias() function's "bias" argument is not a
"enum pin_config_param", so its value should not be compared against
values of that enum.
This should fix the bias config not working on the X2000(E) SoCs.
Fixes: 943e0da ("pinctrl: Ingenic: Add pinctrl driver for X2000.")
Cc: <stable@vger.kernel.org> # v5.12
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: 周琰杰 (Zhou Yanjie)<zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/20210717174836.14776-2-paul@crapouillou.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>1 parent d5e9314 commit 7261851
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3830 | 3830 | | |
3831 | 3831 | | |
3832 | 3832 | | |
3833 | | - | |
| 3833 | + | |
3834 | 3834 | | |
3835 | 3835 | | |
3836 | 3836 | | |
3837 | 3837 | | |
3838 | | - | |
| 3838 | + | |
3839 | 3839 | | |
3840 | 3840 | | |
3841 | 3841 | | |
3842 | 3842 | | |
3843 | | - | |
| 3843 | + | |
3844 | 3844 | | |
3845 | 3845 | | |
3846 | 3846 | | |
| |||
0 commit comments