diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-08-15 08:53:28 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-08-15 08:53:28 -0700 |
commit | 879dce79531ea82f78d662c4651be07761c6e41a (patch) | |
tree | 54c1ab32b00ac36635b0628faf34d9a85dc2a010 /drivers/bus | |
parent | d683878dbeab3cd5cd073e40b41f24a4c7f62415 (diff) | |
download | linux-stable-879dce79531ea82f78d662c4651be07761c6e41a.tar.gz linux-stable-879dce79531ea82f78d662c4651be07761c6e41a.tar.bz2 linux-stable-879dce79531ea82f78d662c4651be07761c6e41a.zip |
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: 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@cogentembedded.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions