gpio/mxc: use the edge_sel feature if available
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Fri, 22 Jun 2012 19:04:06 +0000 (21:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Jul 2012 19:00:16 +0000 (21:00 +0200)
Some mxc processors have an edge_sel feature, which allows the IRQ to be
triggered by any edge.

This patch makes use of this feature if available, which skips mxc_flip_edge().

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Sascha Hauer <kernel@pengutronix.de>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found