[PATCH v2 1/2] DMA: mv_xor: Add a device_control function
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Nov 18 12:40:23 EST 2012
Andrew,
On Sun, 18 Nov 2012 11:44:56 +0100, Andrew Lunn wrote:
> The dmatest module for DMA engines calls
>
> device_control(dtc->chan, DMA_TERMINATE_ALL, 0);
>
> after completing the tests. The documentation in
> include/linux/dmaengine.h suggests this function is optional and
> dma_async_device_register() also does not BUG_ON() when not passed a
> function. However, dmatest is not the only code in the kernel
> unconditionally calling device_control. So add an implementation
> indicating all operations are not implemented.
>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
Thanks, I have applied your patch and made it part of the XOR patch set
I have, for which I intend to send a pull request to you tomorrow.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the linux-arm-kernel
mailing list