pinctrl: mediatek: add input-enable setting in gpio_request_enable
authorBiao Huang <biao.huang@mediatek.com>
Tue, 16 Feb 2016 19:16:33 +0000 (03:16 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 18 Feb 2016 23:29:23 +0000 (00:29 +0100)
commit31763d3b369c44159919ff2fbfafbb90613e1de2
tree65feb9b2118bda9a379f6dbc92e4ef12bfa086a2
parent0f8dd7517e1e33e16646143c92a689038020eb52
pinctrl: mediatek: add input-enable setting in gpio_request_enable

Since input-disable cuts off input signal of gpio, add input-enable
setting in .gpio_request_enable implementation to ensure gpio function well

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common.c