bus: fsl-mc: MC control registers are not always available
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Mon, 14 Sep 2020 10:54:59 +0000 (13:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 11:25:32 +0000 (13:25 +0200)
commitaef85b56c3c1693571940ebaee986c26a2dab99b
tree863edfe0f0fe7e2741dab1951d3659963f1f7c24
parent3b844345e18042631a0f061d1f35045f2de74347
bus: fsl-mc: MC control registers are not always available

As per the device tree binding, in certain scenarios such as
virtualization scenarios, the MC control registers are not
available so don't error out if they are not present.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Link: https://lore.kernel.org/r/20200914105459.27448-2-laurentiu.tudor@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/fsl-mc/fsl-mc-bus.c