bus: fsl-mc: pause the MC firmware when unloading
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 15 Jul 2021 14:07:16 +0000 (17:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 11:56:25 +0000 (13:56 +0200)
commit39243fc1110caf1e76ea647059e061a021680dfd
tree5d331e2faa24739d913f75344222727769f2b4d4
parent8c97a4fc1b34856812b6775f1f1d46b3bf59bc9d
bus: fsl-mc: pause the MC firmware when unloading

Pause the MC firmware when unloading the driver so that it doesn't
crash in certain scenarios, such as kexec.

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