[PATCH 1/1] ARM: mxc: Fix gpio interrupts for mx53

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 4 03:50:25 EDT 2011


Grant,

Just to let you know:
When this patch hits mainline you will get a merge conflict in
arch/arm/plat-mxc/gpio.c as this file is deleted in you gpio
tree. The correct solution is to remove just arch/arm/plat-mxc/gpio.c
as this issue is fixed in your tree already.

Sascha

On Fri, Jul 01, 2011 at 04:04:39PM -0700, Troy Kisky wrote:
> Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
> ---
>  arch/arm/plat-mxc/gpio.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c
> index 6cd6d7f..1955eeb 100644
> --- a/arch/arm/plat-mxc/gpio.c
> +++ b/arch/arm/plat-mxc/gpio.c
> @@ -336,7 +336,8 @@ int __init mxc_gpio_init(struct mxc_gpio_port *port, int cnt)
>  		/* its a serious configuration bug when it fails */
>  		BUG_ON( gpiochip_add(&port[i].chip) < 0 );
>  
> -		if (cpu_is_mx1() || cpu_is_mx3() || cpu_is_mx25() || cpu_is_mx51()) {
> +		if (cpu_is_mx1() || cpu_is_mx3() || cpu_is_mx25()
> +				|| cpu_is_mx51() || cpu_is_mx53()) {
>  			/* setup one handler for each entry */
>  			irq_set_chained_handler(port[i].irq,
>  						mx3_gpio_irq_handler);
> -- 
> 1.7.0.4
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list