From: Sekhar Nori Date: Sun, 11 Mar 2012 12:46:12 +0000 (+0530) Subject: gpio/davinci: fix enabling unbanked GPIO IRQs X-Git-Tag: v3.4-rc1~65^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81b279d80a63628e580c71a31d30a8c3b3047ad4;p=pandora-kernel.git 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: # v3.0.x+ Reported-by: Jon Povey Tested-by: Jon Povey Signed-off-by: Sekhar Nori Signed-off-by: Grant Likely --- Reading git-diff-tree failed