On Fri, Jun 20, 2014 at 1:34 PM, Maxime COQUELIN <maxime.coque...@st.com> wrote:
> st_gpio_irqmux_handler() reads the status register to find out > which banks inside the controller have pending IRQs. > For each banks having pending IRQs, it calls the corresponding handler. > > Problem is that current code restricts the number of possible banks inside the > controller to ST_GPIO_PINS_PER_BANK. This define represents the number of pins > inside a bank, so it shouldn't be used here. > > On STiH407, PIO_FRONT0 controller has 10 banks, so IRQs pending in the two > last banks (PIO18 & PIO19) aren't handled. > > This patch replace ST_GPIO_PINS_PER_BANK by the number of banks inside the > controller. > > Cc: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> > Cc: Linus Walleij <linus.wall...@linaro.org> > Cc: <sta...@vger.kernel.org> #v3.15+ > Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> Patch applied for fixes with Srinivas ACK. Thanks! Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/