]> git.baikalelectronics.ru Git - kernel.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)
commit5d439cce3bf7b8561eba5974fd25e7d095199e3b
treea4092cab1149aec4c38bea7e4a21927265862a36
parent51018ca3b774b415d250e82282885262615188c5
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: ace7554a9c6b ' 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