From: Linus Walleij Date: Wed, 26 Dec 2012 00:39:16 +0000 (+0100) Subject: ARM: 7611/1: VIC: fix bug in VIC irqdomain code X-Git-Tag: v3.8-rc3~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ced33bc06e7e76cb8a236f15bff49eb6155b618;p=pandora-kernel.git ARM: 7611/1: VIC: fix bug in VIC irqdomain code The VIC irqdomain code added in commit 07c9249f1fa90cc8189bed44c0bcece664596a72 "ARM: 7554/1: VIC: use irq_domain_add_simple()" Had two bugs: 1) It didn't call irq_create_mapping() once on each valid irq source in the slowpath when registering the controller. 2) It passed a -1 as IRQ offset for the DT case, whereas 0 should be passed as invalid IRQ instead. Cc: Grant Likely Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed