Re: [PATCH v3 02/15] dmaengine: omap: Add support for pause/resumein cyclic dma mode

From: Peter Ujfalusi
Date: Mon Sep 17 2012 - 04:40:28 EST


Hi Vinod,

On 09/17/2012 06:13 AM, Vinod Koul wrote:
> On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote:
>> - /* FIXME: not supported by platform private API */
>> - return -EINVAL;
>> + /* Pause/Resume only allowed with cyclic mode */
>> + if (!c->cyclic)
>> + return -EINVAL;
> This is not a dma restriction right?

The pause/resume operation has been only used by audio. This might work with
non cyclic modes as well but it has never been used/tested so to be safe I
have added this restriction.

--
PÃter
--
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/