[PATCH 1/2] gpio: davinci: don't create irq_domain in case of unbanked irqs

Santosh Shilimkar santosh.shilimkar at ti.com
Mon Dec 16 11:24:10 EST 2013


On Thursday 12 December 2013 01:12 PM, Grygorii Strashko 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 at linaro.org>
> CC: Sekhar Nori <nsekhar at ti.com>
> CC: Santosh Shilimkar <santosh.shilimkar at ti.com>
> 
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>





More information about the linux-arm-kernel mailing list