]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
irqchip: tegra: Set the proper base address in irq chip data
authorLucas Stach <dev@lynxeye.de>
Sat, 9 May 2015 20:06:54 +0000 (22:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 13 May 2015 08:46:07 +0000 (10:46 +0200)
commit9cf82e72ec449b4516843377ac7a20abe300c64f
treea4092cab1149aec4c38bea7e4a21927265862a36
parent030bbdbf4c833bc69f502eae58498bc5572db736
irqchip: tegra: Set the proper base address in irq chip data

The irq chip functions use the irq chipdata directly as the base register
address of the controller, so this should be passed in instead of a pointer
to the array address holding the base address.

This fixes Tegra20 CPUidle as now the un-/masking of IRQs at the LIC level
works again, but more importantly it fixes the resulting memory corruption.

Fixes: de3ce0804916 ' irqchip: tegra: Add DT-based support for legacy interrupt controller'
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/1431202014-3136-1-git-send-email-dev@lynxeye.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-tegra.c