From: Nishanth Menon Date: Thu, 26 Jun 2014 07:10:20 +0000 (+0530) Subject: irqchip: crossbar: Check for premapped crossbar before allocating X-Git-Tag: omap-for-v3.17/dt-part1~18^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f16fc878a51572a998655e5ef1c396cb269648d;p=pandora-kernel.git irqchip: crossbar: Check for premapped crossbar before allocating If irq_of_parse_and_map is executed twice, the same crossbar is mapped to two different GIC interrupts. This is completely undesirable. Instead, check if the requested crossbar event is pre-allocated and provide that GIC mapping back to caller if already allocated. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R Acked-by: Santosh Shilimkar Link: https://lkml.kernel.org/r/1403766634-18543-3-git-send-email-r.sricharan@ti.com Signed-off-by: Jason Cooper --- Reading git-diff-tree failed