[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=3OYmuPUnBGimGTiGUbh32KDPyoXubvXJZAR99@mail.gmail.com>
Date: Mon, 16 Aug 2010 14:22:16 +0200
From: Linus Walleij <linus.ml.walleij@...il.com>
To: Sascha Hauer <s.hauer@...gutronix.de>
Cc: linux-kernel@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>,
linux-arm-kernel@...ts.infradead.org,
Haavard Skinnemoen <haavard.skinnemoen@...el.com>
Subject: Re: [PATCH 1/3] dmaengine: add possibility for cyclic transfers
2010/8/16 Sascha Hauer <s.hauer@...gutronix.de>:
> Cyclic transfers are useful for audio where a single buffer divided
> in periods has to be transfered endlessly until stopped. After being
> prepared the transfer is started using the dma_async_descriptor->tx_submit
> function. dma_async_descriptor->callback is called after each period.
> The transfer is stopped using the DMA_TERMINATE_ALL callback.
> While being used for cyclic transfers the channel cannot be used
> for other transfer types.
>
> Signed-off-by: Sascha Hauer <s.hauer@...gutronix.de>
> Cc: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
Looks good to me.
Acked-by: Linus Walleij <linus.walleij@...ricsson.com>
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists