From: Russell King - ARM Linux Date: Sun, 18 Nov 2012 16:39:32 +0000 (+0000) Subject: Dove: Fix irq_to_pmu() X-Git-Tag: v3.2.35~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58e104064bdb276b35ef69413e8702424ada4094;p=pandora-kernel.git Dove: Fix irq_to_pmu() commit d356cf5a74afa32b40decca3c9dd88bc3cd63eb5 upstream. PMU interrupts start at IRQ_DOVE_PMU_START, not IRQ_DOVE_PMU_START + 1. Fix the condition. (It may have been less likely to occur had the code been written "if (irq >= IRQ_DOVE_PMU_START" which imho is the easier to understand notation, and matches the normal way of thinking about these things.) Signed-off-by: Russell King Signed-off-by: Jason Cooper Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed