commit 08f66a8edd08f6f7cfa769c81634b29a2b123908 upstream. In the generic pin config library, readback of some options are handled differently compared to the setting of those options: the argument value is used to convey enable/disable of an option in the set path, but success or -EINVAL is used to convey if an option is enabled or disabled in the debugfs readback path. PIN_CONFIG_INPUT_SCHMITT_ENABLE is one such option. Fix the readback of the option in the mediatek-paris library, so that the debugfs dump is not showing "input schmitt enabled" for pins that don't have it enabled. Fixes: 1bea6afbc842 ("pinctrl: mediatek: Refine mtk_pinconf_get()") Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Message-ID: <20240327091336.3434141-2-wenst@chromium.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtk-eint.c | ||
mtk-eint.h | ||
pinctrl-moore.c | ||
pinctrl-moore.h | ||
pinctrl-mt2701.c | ||
pinctrl-mt2712.c | ||
pinctrl-mt6397.c | ||
pinctrl-mt6765.c | ||
pinctrl-mt6797.c | ||
pinctrl-mt7622.c | ||
pinctrl-mt7623.c | ||
pinctrl-mt7629.c | ||
pinctrl-mt8127.c | ||
pinctrl-mt8135.c | ||
pinctrl-mt8173.c | ||
pinctrl-mt8183.c | ||
pinctrl-mt8516.c | ||
pinctrl-mtk-common-v2.c | ||
pinctrl-mtk-common-v2.h | ||
pinctrl-mtk-common.c | ||
pinctrl-mtk-common.h | ||
pinctrl-mtk-mt2701.h | ||
pinctrl-mtk-mt2712.h | ||
pinctrl-mtk-mt6397.h | ||
pinctrl-mtk-mt6765.h | ||
pinctrl-mtk-mt6797.h | ||
pinctrl-mtk-mt8127.h | ||
pinctrl-mtk-mt8135.h | ||
pinctrl-mtk-mt8173.h | ||
pinctrl-mtk-mt8183.h | ||
pinctrl-mtk-mt8516.h | ||
pinctrl-paris.c | ||
pinctrl-paris.h |