summaryrefslogtreecommitdiffstats
path: root/scripts/spdxcheck-test.sh
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2021-04-07 10:56:39 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-04-13 15:42:45 -0500
commit6d1f2803cb6b414c2e45fa64d1fdad6b581e1e88 (patch)
tree7a6fbd0831cd938f4483daf1d8e9132932b2ec33 /scripts/spdxcheck-test.sh
parent48073935b9a4f820733937bd40a74c1c389caee6 (diff)
downloadlinux-6d1f2803cb6b414c2e45fa64d1fdad6b581e1e88.tar.bz2
remoteproc: pru: Fixup interrupt-parent logic for fw events
The PRU firmware interrupt mapping logic in pru_handle_intrmap() uses of_irq_find_parent() with PRU device node to get a handle to the PRUSS Interrupt Controller at present. This logic however requires that the PRU nodes always define a interrupt-parent property. This property is neither a required/defined property as per the PRU remoteproc binding, nor is relevant from a DT node point of view without any associated interrupts. The current logic finds a wrong interrupt controller and fails to perform proper mapping without any interrupt-parent property in the PRU nodes. Fix this logic to always find and use the sibling interrupt controller. Also, while at this, fix the acquired interrupt controller device node reference properly. Fixes: c75c9fdac66e ("remoteproc: pru: Add support for PRU specific interrupt configuration") Signed-off-by: Suman Anna <s-anna@ti.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20210407155641.5501-2-s-anna@ti.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'scripts/spdxcheck-test.sh')
0 files changed, 0 insertions, 0 deletions