Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dma: sh: Don't use ENODEV for failing slave lookup
If dmaengine driver's .device_alloc_chan_resources() method returns -ENODEV, dma_request_channel() will decide, that the driver has been removed and will remove the device from its list. To prevent this use ENXIO if a slave lookup fails. Reported-by: Kuninori Morimoto <[email protected]> Signed-off-by: Guennadi Liakhovetski <[email protected]> Cc: [email protected] Signed-off-by: Vinod Koul <[email protected]>
- Loading branch information