summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorYingjoe Chen <yingjoe.chen@mediatek.com>2015-01-27 07:15:26 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-03-18 02:02:16 +0100
commit3221f40b7631183b0c7a2e5d4be00cab12d983c3 (patch)
tree71f6b06e47ddaa23c42105b696dec52f5ccc0747 /block
parentarm64: mediatek: Add Pinctrl/GPIO/EINT driver for mt8173. (diff)
downloadlinux-3221f40b7631183b0c7a2e5d4be00cab12d983c3.tar.xz
linux-3221f40b7631183b0c7a2e5d4be00cab12d983c3.zip
pinctrl: mediatek: emulate GPIO interrupt on both-edges
MTK EINT does not support generating interrupt on both edges. Emulate this by changing edge polarity while enable irq, set types and interrupt handling. This follows an example of drivers/gpio/gpio-mxc.c. Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com> Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com> Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions