diff options
author | Chen-Yu Tsai <wenst@chromium.org> | 2022-03-08 18:09:48 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-03-15 01:24:15 +0100 |
commit | 19bce7ce0a593c7024030a0cda9e23facea3c93d (patch) | |
tree | 825cc0103bc1680c5d09aec2dd38e5e6e85eb6cd /net/Kconfig.debug | |
parent | 3e8c6bc608480010f360c4a59578d7841726137d (diff) | |
download | linux-19bce7ce0a593c7024030a0cda9e23facea3c93d.tar.bz2 |
pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
For mtk_pinconf_get(), the "argument" argument is typically returned by
pinconf_to_config_argument(), which holds the value for a given pinconf
parameter. It certainly should not have the type of "enum pin_config_param",
which describes the type of the pinconf parameter itself.
Change the type to u32, which matches the return type of
pinconf_to_config_argument().
Fixes: 805250982bb5 ("pinctrl: mediatek: add pinctrl-paris that implements the vendor dt-bindings")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220308100956.2750295-4-wenst@chromium.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions