[PATCH v2 2/2] ARM: OMAP4+: PRM: fix of_irq_get() result checks

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Sun Aug 6 08:19:19 PDT 2017


On 08/06/2017 06:14 PM, Sergei Shtylyov wrote:

> of_irq_get() may return 0 as well as a nagative error number on failure,

    Oops, forgot to kill comma...

> (and never on success), however omap44xx_prm_late_init() regards 0 as a
> valid IRQ -- fix this.
> 
> Fixes: a8f83aefcd5a ("ARM: OMAP4+: PRM: register interrupt information from DT")
> Fixes: c5b3955828ba ("ARM: OMAP4: Fix legacy code clean-up regression")
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
[...]

MBR, Sergei




More information about the linux-arm-kernel mailing list