diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-25 11:03:37 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-08-29 20:08:53 +0530 |
commit | 7b4b88e067d37cbbafd856121767f7e154294eb2 (patch) | |
tree | 9c94c61f0a903ea8a08f6ca085ccca5b83a190b6 /drivers/dma/ste_dma40.c | |
parent | 36e2f21ab481b3d6bd31b99e1de669fbbac4bd0e (diff) | |
download | blackbird-op-linux-7b4b88e067d37cbbafd856121767f7e154294eb2.tar.gz blackbird-op-linux-7b4b88e067d37cbbafd856121767f7e154294eb2.zip |
dmaengine i.MX SDMA: use request_firmware_nowait
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: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ste_dma40.c')
0 files changed, 0 insertions, 0 deletions