Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 81b279d8 authored by Sekhar Nori's avatar Sekhar Nori Committed by Grant Likely
Browse files

gpio/davinci: fix enabling unbanked GPIO IRQs



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.

Cc: <stable@vger.kernel.org> # v3.0.x+
Reported-by: default avatarJon Povey <Jon.Povey@racelogic.co.uk>
Tested-by: default avatarJon Povey <Jon.Povey@racelogic.co.uk>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent ab2dde99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment