pinctrl: cy8c95x0: Fix get_pincfg
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Tue, 19 Dec 2023 12:51:18 +0000 (13:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Dec 2023 12:02:18 +0000 (13:02 +0100)
commit94c71705cc49092cef60ece13a28680809096fd4
treec737f44412995dd88c7cee3f544f3a62d310b307
parent04dfca968cf7349773126340991b68a83378aca2
pinctrl: cy8c95x0: Fix get_pincfg

Invert the register value for PIN_CONFIG_OUTPUT_ENABLE to return
the opposite of PIN_CONFIG_INPUT_ENABLE.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Link: https://lore.kernel.org/r/20231219125120.4028862-3-patrick.rudolph@9elements.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-cy8c95x0.c