• Sascha Hauer's avatar
    dmaengine i.MX SDMA: use request_firmware_nowait · 7b4b88e0
    Sascha Hauer authored
    The firmware blob may not be available when the driver
    probes. Instead of blocking the whole kernel use
    request_firmware_nowait() and continue without firmware.
    The ROM scripts can already be used then if available.
    For the devicetree case the ROM scripts are not available,
    still the probe function should not block. The driver
    will be unusable in this case, but we have no way of
    detecting this properly. The configuration of the dma
    channels will fail, so nothing bad should happen.
    Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    7b4b88e0
imx-sdma.c 35.5 KB