commit | 3221f40b7631183b0c7a2e5d4be00cab12d983c3 | [log] [tgz] |
---|---|---|
author | Yingjoe Chen <yingjoe.chen@mediatek.com> | Tue Jan 27 14:15:26 2015 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 18 02:02:16 2015 +0100 |
tree | 71f6b06e47ddaa23c42105b696dec52f5ccc0747 | |
parent | 30f010f5c4cfcdf3773d6f2dcbab3c349d05c668 [diff] |
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>