drivers: bus: check cci device tree node status
authorAbhilash Kesavan <a.kesavan@samsung.com>
Sat, 10 Jan 2015 03:11:35 +0000 (08:41 +0530)
committerOlof Johansson <olof@lixom.net>
Sat, 17 Jan 2015 03:10:41 +0000 (19:10 -0800)
commit896ddd600ba4a3426aeb11710ae9c28dd7ce68ce
tree37d60e5f4f20c237a1c66c1bdeef1999bf9156f4
parent6fda93b95e388c82a84c201324f77997d82fada2
drivers: bus: check cci device tree node status

The arm-cci driver completes the probe sequence even if the cci node is
marked as disabled. Add a check in the driver to honour the cci status
in the device tree.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/bus/arm-cci.c