diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-07-22 11:39:29 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-08-10 14:42:55 +0200 |
commit | d789a490d32fdf0465275e3607f8a3bc87d3f3ba (patch) | |
tree | 838d596c1813f72bd5d98745e23e07c636975c2b /init | |
parent | 182700f258531c75846cb0f070e847e8b4c457b2 (diff) | |
download | linux-d789a490d32fdf0465275e3607f8a3bc87d3f3ba.tar.bz2 |
pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry()
Fix to return -ENOTSUPP instead of 0 when PCS_HAS_PINCONF is true, which
is the same as that returned in pcs_parse_pinconf().
Fixes: 4e7e8017a80e ("pinctrl: pinctrl-single: enhance to configure multiple pins of different modules")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210722033930.4034-2-thunder.leizhen@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions