ARM: 6061/1: PL061 GPIO: Bug fix - setting gpio for HIGH_LEVEL interrupt is not working.

In current implementation of PL061, setting type of irq to HIGH_LEVEL is not
working. This patch fixes this bug.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by viresh kumar and committed by Russell King db7e1bc4 b56ba8aa

+1 -1
+1 -1
drivers/gpio/pl061.c
··· 189 189 gpioibe &= ~(1 << offset); 190 190 if (trigger & IRQ_TYPE_EDGE_RISING) 191 191 gpioiev |= 1 << offset; 192 - else 192 + else if (trigger & IRQ_TYPE_EDGE_FALLING) 193 193 gpioiev &= ~(1 << offset); 194 194 } 195 195 writeb(gpioibe, chip->base + GPIOIBE);