irqchip: crossbar: Introduce centralized check for crossbar write
authorNishanth Menon <nm@ti.com>
Thu, 26 Jun 2014 07:10:32 +0000 (12:40 +0530)
committerJason Cooper <jason@lakedaemon.net>
Mon, 30 Jun 2014 19:21:01 +0000 (19:21 +0000)
commit29918b6790d92456cab87ff41a01224e0882d04a
treea710a197bb20c387752389dd336e3f4908212003
parent2f7d2fb71dd0c14f9c0fe66f2ed7b4685fa745e2
irqchip: crossbar: Introduce centralized check for crossbar write

This is a basic check to ensure that crossbar register needs to be
written. This ensures that we have a common check which is used in
both map and unmap logic.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sricharan R <r.sricharan@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Link: https://lkml.kernel.org/r/1403766634-18543-15-git-send-email-r.sricharan@ti.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-crossbar.c