[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52AF292A.4020106@ti.com>
Date: Mon, 16 Dec 2013 11:24:10 -0500
From: Santosh Shilimkar <santosh.shilimkar@...com>
To: Grygorii Strashko <grygorii.strashko@...com>
CC: Linus Walleij <linus.walleij@...aro.org>,
Sekhar Nori <nsekhar@...com>,
Rob Herring <rob.herring@...xeda.com>,
<prabhakar.csengg@...il.com>, <linux-gpio@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<davinci-linux-open-source@...ux.davincidsp.com>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 1/2] gpio: davinci: don't create irq_domain in case of
unbanked irqs
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@...aro.org>
> CC: Sekhar Nori <nsekhar@...com>
> CC: Santosh Shilimkar <santosh.shilimkar@...com>
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@...com>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists