Skip to contentSkip to conversation

ARM: mxc: Fix gpio interrupts for mx53

PATCH New Sascha Hauer 2 participants 2 messages Jul 4, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

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

Quoted 23 lines · Troy Kisky
---
 arch/arm/plat-mxc/gpio.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/arm/plat-mxc/gpio.c +2 -1
index 6cd6d7f..1955eeb 100644
@@ -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);
Signature · 1 line
1.7.0.4
Signature · 4 lines
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 |
#2 lore raw

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

Quoted 9 lines · Sascha Hauer

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

Okay, thanks.

g.

Quoted 36 lines · Troy Kisky
Quoted 23 lines
---
 arch/arm/plat-mxc/gpio.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/arm/plat-mxc/gpio.c +2 -1
index 6cd6d7f..1955eeb 100644
@@ -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);
Signature · 1 line
1.7.0.4
Signature · 9 lines
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 |

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel