Home
last modified time | relevance | path

Searched hist:f0bbe4dc5ce2dd610e1ec7dd3f428bb5670f9878 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/mips/lantiq/
H A Dirq.cdiff f0bbe4dc5ce2dd610e1ec7dd3f428bb5670f9878 Thu Jun 09 10:09:51 CDT 2016 John Crispin <john@phrozen.org> MIPS: Lantiq: Fix eiu interrupt loading code

Using of_irq_count to load the irq index from the devicetree is incorrect.
This will cause the kernel to map them regardless, even if they dont
actually get used. Change the code to use of_property_count_u32_elems()
instead which is the correct API to use in this case.

Signed-off-by: John Crispin <john@phrozen.org>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/13601/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>