summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek/pinctrl-mt6765.c
diff options
context:
space:
mode:
authorLight Hsieh <light.hsieh@mediatek.com>2020-01-22 14:53:12 +0800
committerLinus Walleij <linus.walleij@linaro.org>2020-02-14 11:32:49 +0100
commit1bea6afbc84206cd939ae227cf81d6c824af6fd7 (patch)
treea5031096b8086688ab45d6a6892fbb8e84ac5461 /drivers/pinctrl/mediatek/pinctrl-mt6765.c
parent3599cc525486be6681640ff3083376c001264c61 (diff)
downloadlinux-next-1bea6afbc84206cd939ae227cf81d6c824af6fd7.tar.gz
pinctrl: mediatek: Refine mtk_pinconf_get()
Correct cases for PIN_CONFIG_SLEW_RATE, PIN_CONFIG_INPUT_SCHMITT_ENABLE, and PIN_CONFIG_OUTPUT_ENABLE - Use variable ret to receive value in mtk_hw_get_value() (instead of variable val) since pinconf_to_config_packed() at end of this function use variable ret to pack config value. Signed-off-by: Light Hsieh <light.hsieh@mediatek.com> Link: https://lore.kernel.org/r/1579675994-7001-4-git-send-email-light.hsieh@mediatek.com Acked-by: Sean Wang <sean.wang@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mt6765.c')
0 files changed, 0 insertions, 0 deletions