Skip to content
Commit 78119fd1 authored by Grant Likely's avatar Grant Likely
Browse files

of/irq: Fix bug in interrupt parsing refactor.



Commit 23616132, "of/irq: Refactor interrupt-map parsing" introduced
a bug. The irq parsing will fail for some nodes that don't have a reg
property. It is fixed by deferring the check for reg until it is
actually needed. Also adjust the testcase data to catch the bug.

Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Tested-by: default avatarMing Lei <tom.leiming@gmail.com>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Cc: Rob Herring <rob.herring@calxeda.com>
parent 0976c946
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment