bus: fsl-mc: handle DMA config deferral in ACPI case
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 15 Jul 2021 14:07:12 +0000 (17:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 11:56:25 +0000 (13:56 +0200)
commitf8cfa9bbab338b64229bffb93fdbb755be9d58d5
tree89af9319604ab0a2bd932b3583dc2ff07fd76c62
parentaa0a1ae020e2d24749e9f8085f12ca6d46899c94
bus: fsl-mc: handle DMA config deferral in ACPI case

ACPI DMA configure API may return a defer status code, so handle it.
On top of this, move the MC firmware resume after the DMA setup
is completed to avoid crashing due to DMA setup not being done yet or
being deferred.

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