bus: fsl-mc: add back accidentally dropped error check
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 5 Nov 2020 15:30:49 +0000 (17:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2020 18:50:40 +0000 (19:50 +0100)
commit61243c03dde238170001093a29716c2369e8358f
treee4ea2df04336d33777606bd940296c57bf55ee03
parentaec273a3191e2931e7010dd7b83cd110c21bcc03
bus: fsl-mc: add back accidentally dropped error check

A previous patch accidentally dropped an error check, so add it back.

Fixes: aef85b56c3c1 ("bus: fsl-mc: MC control registers are not always available")
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Link: https://lore.kernel.org/r/20201105153050.19662-1-laurentiu.tudor@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/fsl-mc/fsl-mc-bus.c