From 3221f40b7631183b0c7a2e5d4be00cab12d983c3 Mon Sep 17 00:00:00 2001 From: Yingjoe Chen Date: Tue, 27 Jan 2015 14:15:26 +0800 Subject: [PATCH] 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 Signed-off-by: Chaotian Jing Acked-by: Hongzhou Yang Signed-off-by: Linus Walleij --- Reading git-format-patch failed