From: Yingjoe Chen Date: Tue, 27 Jan 2015 06:15:26 +0000 (+0800) Subject: pinctrl: mediatek: emulate GPIO interrupt on both-edges X-Git-Tag: omap-for-v4.2/o2_dc~138^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3221f40b7631183b0c7a2e5d4be00cab12d983c3;p=pandora-kernel.git 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-diff-tree failed