Skip to contentSkip to conversation

arm/tegra: Fix tegra irq_data conversion

PATCH New Grant Likely 4 participants 8 messages Jan 16, 2011 – Jan 27, 2011

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

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). This patch fixes the build error.

---
 arch/arm/mach-tegra/gpio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-tegra/gpio.c +2 -2
index bd06620..ad80488 100644
@@ -207,9 +207,9 @@ static int tegra_gpio_irq_set_type(struct irq_data *d, unsigned int type)
 	spin_unlock_irqrestore(&bank->lvl_lock[port], flags);
 
 	if (type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH))
-		__set_irq_handler_unlocked(irq, handle_level_irq);
+		__set_irq_handler_unlocked(d->irq, handle_level_irq);
 	else if (type & (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING))
-		__set_irq_handler_unlocked(irq, handle_edge_irq);
+		__set_irq_handler_unlocked(d->irq, handle_edge_irq);
 
 	return 0;
 }
#1 lore raw

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Quoted 5 lines · Grant Likely

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). This patch fixes the build error.

I built this queue against all defconfigs, but there doesn't seem to be one for tegra at the moment, which is why I missed this.

#2 lore raw

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Quoted 9 lines · Lennert Buytenhek
Quoted 5 lines · Grant Likely

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). ?This patch fixes the build error.

Quoted 2 lines

I built this queue against all defconfigs, but there doesn't seem to be one for tegra at the moment, which is why I missed this.

Yep, planning on fixing this for .39.

-Olof

#3 lore raw

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Quoted 14 lines · Olof Johansson
Quoted 9 lines · Lennert Buytenhek
Quoted 5 lines · Grant Likely

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). ?This patch fixes the build error.

Quoted 8 lines
Quoted 2 lines

I built this queue against all defconfigs, but there doesn't seem to be one for tegra at the moment, which is why I missed this.

Yep, planning on fixing this for .39.

-Olof

This should get fixed in .38. Has someone picked it up, or should I put it in through my tree?

#4 lore raw

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Quoted 18 lines · Colin Cross
Quoted 17 lines · Olof Johansson
Quoted 9 lines · Lennert Buytenhek
Quoted 5 lines · Grant Likely

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). ?This patch fixes the build error.

Quoted 2 lines

I built this queue against all defconfigs, but there doesn't seem to be one for tegra at the moment, which is why I missed this.

Quoted 8 lines
Quoted 5 lines

Yep, planning on fixing this for .39.

-Olof

This should get fixed in .38. ?Has someone picked it up, or should I put it in through my tree?

I don't think Olof picked it up (seeing as he only acked it and it's not in Linus' tree). You should take it through your tree.

g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
#5 lore raw

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Quoted 22 lines · Grant Likely
Quoted 21 lines · Colin Cross
Quoted 20 lines · Olof Johansson
Quoted 9 lines · Lennert Buytenhek
Quoted 5 lines · Grant Likely

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). ?This patch fixes the build error.

Quoted 2 lines

I built this queue against all defconfigs, but there doesn't seem to be one for tegra at the moment, which is why I missed this.

Yep, planning on fixing this for .39.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

-Olof

This should get fixed in .38. ?Has someone picked it up, or should I put it in through my tree?

I don't think Olof picked it up (seeing as he only acked it and it's not in Linus' tree). ?You should take it through your tree.

Ping? I've not seen this hit Linus' tree yet. Do you want me to take care of it?

g.

#6 lore raw

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Quoted 26 lines · Grant Likely
Quoted 25 lines · Grant Likely
Quoted 24 lines · Colin Cross
Quoted 22 lines · Olof Johansson
Quoted 9 lines · Lennert Buytenhek
Quoted 5 lines · Grant Likely

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). ?This patch fixes the build error.

Quoted 2 lines

I built this queue against all defconfigs, but there doesn't seem to be one for tegra at the moment, which is why I missed this.

Yep, planning on fixing this for .39.

-Olof

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

This should get fixed in .38. ?Has someone picked it up, or should I put it in through my tree?

I don't think Olof picked it up (seeing as he only acked it and it's not in Linus' tree). ?You should take it through your tree.

Ping? ?I've not seen this hit Linus' tree yet. ?Do you want me to take care of it?

I confused your previous request for the struct clk patch with this patch. I just sent a pull request with both this and the struct clk patch to Linus.

#7 lore raw

PATCH 1/1 arm/tegra: Fix tegra irq_data conversion

Quoted 33 lines · Colin Cross
Quoted 32 lines · Grant Likely
Quoted 30 lines · Grant Likely
Quoted 18 lines · Colin Cross
Quoted 17 lines · Olof Johansson
Quoted 9 lines · Lennert Buytenhek
Quoted 5 lines · Grant Likely

Commit 37337a8d5e68d6e19075dbdb3acf4f1011dae972, "ARM: tegra: irq_data conversion." missed changing one reference to 'irq' in the function tegra_gpio_irq_set_type(). ?This patch fixes the build error.

Quoted 2 lines

I built this queue against all defconfigs, but there doesn't seem to be one for tegra at the moment, which is why I missed this.

Quoted 8 lines
Quoted 5 lines

Yep, planning on fixing this for .39.

-Olof

This should get fixed in .38. ?Has someone picked it up, or should I put it in through my tree?

I don't think Olof picked it up (seeing as he only acked it and it's not in Linus' tree). ?You should take it through your tree.

Quoted 6 lines
Quoted 2 lines

Ping? ?I've not seen this hit Linus' tree yet. ?Do you want me to take care of it?

I confused your previous request for the struct clk patch with this patch. ?I just sent a pull request with both this and the struct clk patch to Linus.

Cool, thanks.

g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.