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)
commitaeb27748e3bc1e89ec590713e574cb6f885cc3c6
tree79a76bb0bd3275173fdf5840db8e0c1683fd0f8b
parent41920d16360ebc8c482911078a17d9994fb77612
gpio/mxc: use the edge_sel feature if available

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>
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
arch/arm/boot/dts/imx51.dtsi
arch/arm/boot/dts/imx53.dtsi
arch/arm/boot/dts/imx6q.dtsi
arch/arm/mach-imx/mm-imx25.c
arch/arm/mach-imx/mm-imx3.c
arch/arm/mach-imx/mm-imx5.c
drivers/gpio/gpio-mxc.c