[lkml]   [2010]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectdmaengine: query current transfer status

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.

Guennadi Liakhovetski

 \ /
  Last update: 2010-01-11 16:01    [W:0.036 / U:0.932 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site