Messages in this thread | | | From | Prabhakar Lad <> | Date | Sat, 21 Dec 2013 13:50:56 +0530 | Subject | Re: [PATCH v2 1/2] gpio: davinci: don't create irq_domain in case of unbanked irqs |
| |
On Wed, Dec 18, 2013 at 3:37 PM, Grygorii Strashko <grygorii.strashko@ti.com> wrote: > The system may crash if: > - there are more then 1 bank > - unbanked irqs are enabled > - someone will call gpio_to_irq() for GPIO from bank2 or above > > Hence, fix it by not creating irq_domain if unbanked irqs are enabled > and correct gpio_to_irq_banked() to handle this properly. > > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: Alexandre Courbot <gnurou@gmail.com> > Cc: Sekhar Nori <nsekhar@ti.com> > > Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> > Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Regards, --Prabhakar Lad
| |