pinctrl: mediatek: Add gpio_request_enable support
authorBiao Huang <biao.huang@mediatek.com>
Wed, 3 Feb 2016 01:24:46 +0000 (09:24 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Feb 2016 13:57:29 +0000 (14:57 +0100)
commit59ee9c96dd5d1aa5f982d2849ed406af8d071134
tree3e6b76f47aa918561194836e8a5b62e00e90f1bd
parent148b95eea00b15ee65a57fe1bd4256d325575e00
pinctrl: mediatek: Add gpio_request_enable support

Implement the .gpio_request_enable() callbacks in struct pinmux_ops
in mediatek pinctrl driver. Make sure that when gpio_request is called,
GPIO on the pin is enabled.

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