Files
android_kernel_samsung_msm8226/kernel
Rob Herring 36b2c36335 irq: Fix check for already initialized irq_domain in irq_domain_add
The sanity check in irq_domain_add() tests desc->irq_data != NULL or
irq_data->domain != NULL. This prevents adding an irq_domain to a irq
descriptor when irq_data exists, which true when the irq descriptor
exists.

This went unnoticed so far as the simple domain code did not enter
this code path because domain->nr_irqs is always 0 for the simple domains.

Split the check for irq_data == NULL out and have a separate warning
for it.

[ tglx: Made the check for irq_data == NULL separate ]

Change-Id: I4d22d3a638b4fcd908a491ec0cb3273db6935dc2
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: marc.zyngier@arm.com
Cc: thomas.abraham@linaro.org
Cc: jamie@jamieiles.com
Cc: b-cousson@ti.com
Cc: shawn.guo@linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree-discuss@lists.ozlabs.org
Link: http://lkml.kernel.org/r/1316017900-19918-3-git-send-email-robherring2@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2011-12-26 15:47:57 +05:30
..
2011-03-31 11:26:23 -03:00
2011-08-04 21:58:35 -07:00
2010-08-09 16:48:42 -04:00
…
2011-03-31 11:26:23 -03:00
2011-03-14 09:15:23 -04:00
2010-10-30 01:42:19 -04:00
2011-05-19 18:51:57 +10:00
2011-10-03 09:57:10 -07:00
2011-10-03 09:57:10 -07:00
…
…
2011-05-17 23:19:17 +02:00
2011-10-27 15:01:19 -07:00
…
2010-10-01 10:50:58 -07:00
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:34 -07:00
2011-03-31 11:26:23 -03:00
2011-08-19 11:41:00 -07:00
2011-04-18 10:35:30 -07:00
2011-10-03 09:57:10 -07:00
2011-05-24 12:10:51 +02:00
2011-05-20 12:50:29 -07:00
2011-10-03 09:57:10 -07:00
…
…
2011-03-31 11:26:23 -03:00
2011-04-24 13:18:38 +02:00
…
2011-10-03 09:57:10 -07:00
2011-03-23 19:46:51 -07:00
2011-10-03 09:57:10 -07:00
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00