diff options
author | Sekhar Nori <nsekhar@ti.com> | 2012-03-11 18:16:12 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-02 09:53:05 -0700 |
commit | 7c2d80c67d367b9a1131de67ddd8088df3541273 (patch) | |
tree | 5ad3ca257d5f679df7a6020f93534430beec262d /drivers/gpio/gpio-ks8695.c | |
parent | 9e4e8ae49a74dbbc69b4e923ecf387154e34da8a (diff) |
gpio/davinci: fix enabling unbanked GPIO IRQs
commit 81b279d80a63628e580c71a31d30a8c3b3047ad4 upstream.
Unbanked GPIO IRQ handling code made a copy of just
the irq_chip structure for GPIO IRQ lines which caused
problems after the generic IRQ chip conversion because
there was no valid irq_chip_type structure with the
right "regs" populated. irq_gc_mask_set_bit() was
therefore accessing random addresses.
Fix it by making a copy of irq_chip_type structure
instead. This will ensure sane register offsets.
Reported-by: Jon Povey <Jon.Povey@racelogic.co.uk>
Tested-by: Jon Povey <Jon.Povey@racelogic.co.uk>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-ks8695.c')
0 files changed, 0 insertions, 0 deletions