aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2022-03-08 18:09:47 +0800
committerLinus Walleij <[email protected]>2022-03-15 01:24:15 +0100
commit3e8c6bc608480010f360c4a59578d7841726137d (patch)
tree9aee6199ff2c9cc6b05cde4c177b4ca7b19a69d1 /lib/test_overflow.c
parent188e5834b930acd03ad3cf7c5e7aa24db9665a29 (diff)
pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
When reading back pin bias settings, if the pin is not in the corresponding bias state, the function should return -EINVAL. Fix this in the mediatek-paris pinctrl library so that the read back state is not littered with bogus a "input bias disabled" combined with "pull up" or "pull down" states. Fixes: 805250982bb5 ("pinctrl: mediatek: add pinctrl-paris that implements the vendor dt-bindings") Signed-off-by: Chen-Yu Tsai <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions