pinctrl: mediatek: fix direction control issue
authorBiao Huang <biao.huang@mediatek.com>
Wed, 3 Feb 2016 01:24:45 +0000 (09:24 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Feb 2016 13:55:20 +0000 (14:55 +0100)
commiteceb3e61c74356590f37cec89708770b333162c4
tree024f2325f11e60817a730e4c4afd5965599a559d
parent39178bb2b3e78cfcb9b6311fa9e2b8d6e3cfe51f
pinctrl: mediatek: fix direction control issue

Since input-enable/disable and input-schmitt-enable/disable are
workable when gpio direction is input, so add direction setting
when do input-enable/disable and input-schmitt-enable/disable
properties.

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