[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.1001111550270.6492@axis700.grange>
Date: Mon, 11 Jan 2010 15:59:00 +0100 (CET)
From: Guennadi Liakhovetski <g.liakhovetski@....de>
To: linux-kernel@...r.kernel.org
cc: Dan Williams <dan.j.williams@...el.com>,
Maciej Sosnowski <maciej.sosnowski@...el.com>
Subject: dmaengine: query current transfer status
Hi
I'm using the dmaengine API with an ASoC driver (soon to be submitted),
and I have to provide a callback to ALSA to query the progress of the
current transfer (the .pointer() method from struct snd_pcm_ops).
Currently I only can provide this information with a period size
precision. Wouldn't it make sense to add an optional hook to dmaengine for
that? I certainly could add this as a platform-specific extension to the
specific dmaengine driver, I'm using (shdma), but that'd be ugly. Ideas?
Specific proposals for the prototype? I could cook up a patch if there are
no principal objections against this.
Thanks
Guennadi
---
Guennadi Liakhovetski
--
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