Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 879dce79 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Tony Lindgren
Browse files

ARM: OMAP4+: PRM: fix of_irq_get() result checks



of_irq_get() may return 0 as well as a nagative error number on failure,
(and never on success), however omap44xx_prm_late_init() regards 0 as a
valid IRQ -- fix this.

Fixes: a8f83aef ("ARM: OMAP4+: PRM: register interrupt information from DT")
Fixes: c5b39558 ("ARM: OMAP4: Fix legacy code clean-up regression")
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d683878d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment