Skip to contentSkip to conversation

plat-mxc: Provide irq_chip name for GPIO IRQs

PATCH New Alexander Stein 4 participants 6 messages Jan 31, 2011 – Apr 4, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 plat-mxc: Provide irq_chip name for GPIO IRQs

---
 arch/arm/plat-mxc/gpio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-mxc/gpio.c +1 -0
index d17b3c9..e396df8 100644
@@ -233,6 +233,7 @@ static int gpio_set_wake_irq(struct irq_data *d, u32 enable)
 }
 
 static struct irq_chip gpio_irq_chip = {
+	.name = "GPIO",
 	.irq_ack = gpio_ack_irq,
 	.irq_mask = gpio_mask_irq,
 	.irq_unmask = gpio_unmask_irq,
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 plat-mxc: Provide irq_chip name for GPIO IRQs

Hello,

Quoted 10 lines · On Monday 31 January 2011, 17:00:24 Alexander Stein wrote:
---
 arch/arm/plat-mxc/gpio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-mxc/gpio.c +0 -0
index d17b3c9..e396df8 100644

arch/arm/plat-mxc/gpio.c static int gpio_set_wake_irq(struct irq_data *d, u32 · line 239

Quoted 7 lines
arch/arm/plat-mxc/gpio.c +1 -0
@@ -233,6 +233,7 @@ static int gpio_set_wake_irq(struct irq_data *d, u32
 enable) }
 
 static struct irq_chip gpio_irq_chip = {
+	.name = "GPIO",
 	.irq_ack = gpio_ack_irq,
 	.irq_mask = gpio_mask_irq,
 	.irq_unmask = gpio_unmask_irq,

Did this get overlooked?

Regards,
Alexander

#2 lore raw

PATCH 1/1 plat-mxc: Provide irq_chip name for GPIO IRQs

Hi,

Quoted 2 lines

arch/arm/plat-mxc/gpio.c static int gpio_set_wake_irq(struct irq_data *d, u32 enable) · line 236

Quoted 2 lines

static struct irq_chip gpio_irq_chip = {

arch/arm/plat-mxc/gpio.c +1 -0
+	.name = "GPIO",

I'd suggest a more specific name, e.g. "i.MX GPIO"? You can then also add my

Regards,

Wolfram

Signature · 9 lines
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110301/dacba0d6/attachment.sig>
#3 lore raw

PATCH 1/1 plat-mxc: Provide irq_chip name for GPIO IRQs

Quoted 9 lines · Wolfram Sang

Hi,

Quoted 2 lines

arch/arm/plat-mxc/gpio.c static int gpio_set_wake_irq(struct irq_data *d, u32 enable) · line 236

Quoted 2 lines

static struct irq_chip gpio_irq_chip = {

arch/arm/plat-mxc/gpio.c +1 -0
+	.name = "GPIO",

I'd suggest a more specific name, e.g. "i.MX GPIO"? You can then also add my

This comment wasn't addressed. Does someone care to follow up?

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#4 lore raw

PATCH 1/1 plat-mxc: Provide irq_chip name for GPIO IRQs

Quoted 11 lines · Uwe Kleine-K?nig
Quoted 9 lines · Wolfram Sang

Hi,

Quoted 2 lines

arch/arm/plat-mxc/gpio.c static int gpio_set_wake_irq(struct irq_data *d, u32 enable) · line 236

Quoted 2 lines

static struct irq_chip gpio_irq_chip = {

arch/arm/plat-mxc/gpio.c +1 -0
+	.name = "GPIO",

I'd suggest a more specific name, e.g. "i.MX GPIO"? You can then also add my

This comment wasn't addressed. Does someone care to follow up?

And if we consolidate the GPIO implementations (I hope *someone* is working on that) then this doesn't matter one ounce because platforms won't be identifying that its an 'i.MX GPIO'.

#5 lore raw

PATCH 1/1 plat-mxc: Provide irq_chip name for GPIO IRQs

Quoted 11 lines · On Monday 04 April 2011, 16:34:08 Russell King - ARM Linux wrote:
Quoted 10 lines · Uwe Kleine-K?nig
Quoted 9 lines · Wolfram Sang

Hi,

Quoted 3 lines

arch/arm/plat-mxc/gpio.c static int gpio_set_wake_irq(struct irq_data *d, u32 enable) · line 236

Quoted 3 lines

static struct irq_chip gpio_irq_chip = {

arch/arm/plat-mxc/gpio.c +1 -0
+	.name = "GPIO",

I'd suggest a more specific name, e.g. "i.MX GPIO"? You can then also add my

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

This comment wasn't addressed. Does someone care to follow up?

And if we consolidate the GPIO implementations (I hope *someone* is working on that) then this doesn't matter one ounce because platforms won't be identifying that its an 'i.MX GPIO'.

The benefit from this patch is that it gets shown at /proc/interrupts. But I personally don't care if it's "GPIO" as in mainline now or "i.MX GPIO"

Alexander