Re: [PATCH 3/7] Documentation: dmaengine: clarify dma_slave_config expectations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vinod,

Thank you for the patch.

On Monday 08 December 2014 11:58:03 Vinod Koul wrote:
> dma_slave_config is expected to be set for slave operations Only, not for
> memcpy ones
> 
> Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>
> ---
>  Documentation/dmaengine/provider.txt |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/dmaengine/provider.txt
> b/Documentation/dmaengine/provider.txt index 2c391cfe37eb..e7ea9f87f499
> 100644
> --- a/Documentation/dmaengine/provider.txt
> +++ b/Documentation/dmaengine/provider.txt
> @@ -310,6 +310,8 @@ supported.
>       - Even though that structure contains a direction field, this
>         field is deprecated in favor of the direction argument given to
>         the prep_* functions
> +     - This call is required for only slave operations only.

s/is required for only slave operations only/is only required for slave 
operations/ ?

> +       This should NOT be set or expected to be set for memcpy operations

How about "Drivers that implement memcpy operations don't need to implement 
this call." ? It makes it clearer that drivers that support both slave and 
memcpy must implement dma_slave_config.

>     * device_pause
>       - Pauses a transfer on the channel

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux