[ARM] 4873/1: Fix ITE 8152 interrupt demux

This patch fixes misprints in ITE 8152 interrupt demuxing

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Mike Rapoport and committed by Russell King b6265177 c60afe10

+3 -2
+3 -2
arch/arm/common/it8152.c
··· 120 time, when they all three were 0. */ 121 bits_pd = __raw_readl(IT8152_INTC_PDCNIRR); 122 bits_lp = __raw_readl(IT8152_INTC_LPCNIRR); 123 if (!(bits_ld | bits_lp | bits_pd)) 124 return; 125 } ··· 134 135 bits_lp &= ((1 << IT8152_LP_IRQ_COUNT) - 1); 136 while (bits_lp) { 137 - i = __ffs(bits_pd); 138 it8152_irq(IT8152_LP_IRQ(i)); 139 bits_lp &= ~(1 << i); 140 } 141 142 bits_ld &= ((1 << IT8152_LD_IRQ_COUNT) - 1); 143 while (bits_ld) { 144 - i = __ffs(bits_pd); 145 it8152_irq(IT8152_LD_IRQ(i)); 146 bits_ld &= ~(1 << i); 147 }
··· 120 time, when they all three were 0. */ 121 bits_pd = __raw_readl(IT8152_INTC_PDCNIRR); 122 bits_lp = __raw_readl(IT8152_INTC_LPCNIRR); 123 + bits_ld = __raw_readl(IT8152_INTC_LDCNIRR); 124 if (!(bits_ld | bits_lp | bits_pd)) 125 return; 126 } ··· 133 134 bits_lp &= ((1 << IT8152_LP_IRQ_COUNT) - 1); 135 while (bits_lp) { 136 + i = __ffs(bits_lp); 137 it8152_irq(IT8152_LP_IRQ(i)); 138 bits_lp &= ~(1 << i); 139 } 140 141 bits_ld &= ((1 << IT8152_LD_IRQ_COUNT) - 1); 142 while (bits_ld) { 143 + i = __ffs(bits_ld); 144 it8152_irq(IT8152_LD_IRQ(i)); 145 bits_ld &= ~(1 << i); 146 }