From beac2fd2d7865d788931431eaea5f6b27885ed1d Mon Sep 17 00:00:00 2001 From: Russell King - ARM Linux Date: Sun, 18 Nov 2012 16:39:32 +0000 Subject: [PATCH] --- yaml --- r: 336105 b: refs/heads/master c: d356cf5a74afa32b40decca3c9dd88bc3cd63eb5 h: refs/heads/master i: 336103: 4c55e9a69e36fbca692de2985bb87b8a52980aa2 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-dove/include/mach/pm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index fbf28722e84a..104ebd73437a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d3df935426271016b895aecaa247101b4bfa35e +refs/heads/master: d356cf5a74afa32b40decca3c9dd88bc3cd63eb5 diff --git a/trunk/arch/arm/mach-dove/include/mach/pm.h b/trunk/arch/arm/mach-dove/include/mach/pm.h index 7bcd0dfce4b1..b47f75038686 100644 --- a/trunk/arch/arm/mach-dove/include/mach/pm.h +++ b/trunk/arch/arm/mach-dove/include/mach/pm.h @@ -63,7 +63,7 @@ static inline int pmu_to_irq(int pin) static inline int irq_to_pmu(int irq) { - if (IRQ_DOVE_PMU_START < irq && irq < NR_IRQS) + if (IRQ_DOVE_PMU_START <= irq && irq < NR_IRQS) return irq - IRQ_DOVE_PMU_START; return -EINVAL;