RE: [PATCH 3.7] dma: sh: Don't use ENODEV for failing slave lookup

From: Koul, Vinod
Date: Mon Dec 03 2012 - 12:48:23 EST


>
> 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 <kuninori.morimoto.gx@xxxxxxxxxxx>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
Applied thanks, CCed stable as well

--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/