All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC: tegra: Does the PCM_TRIGGER_{PAUSE, RESUME} emulation really work?
@ 2013-03-22 16:26 Lars-Peter Clausen
  2013-03-22 23:35 ` Stephen Warren
  0 siblings, 1 reply; 5+ messages in thread
From: Lars-Peter Clausen @ 2013-03-22 16:26 UTC (permalink / raw)
  To: Stephen Warren, Laxman Dewangan; +Cc: Linux-ALSA

Hi,

The tegra pcm driver tries to emulate SNDRV_PCM_TRIGGER_PAUSE and
SNDRV_PCM_TRIGGER_RESUME. By passing SNDRV_PCM_TRIGGER_START and
SNDRV_PCM_TRIGGER_STOP to snd_dmaengine_pcm_trigger. But does this really
work? The old non-dmaengine based driver implemented this properly. I'd
reset the dma position pointer for SNDRV_PCM_TRIGGER_START, but keep it
where it was for SNDRV_PCM_TRIGGER_RESUME. But as far as I can see with the
dmaengine based driver the pointer always gets reset to 0 for both
SNDRV_PCM_TRIGGER_START and SNDRV_PCM_TRIGGER_RESUME.

- Lars

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-23 13:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22 16:26 ASoC: tegra: Does the PCM_TRIGGER_{PAUSE, RESUME} emulation really work? Lars-Peter Clausen
2013-03-22 23:35 ` Stephen Warren
2013-03-23 10:00   ` Lars-Peter Clausen
     [not found]   ` <514DAB42.6090601@nvidia.com>
2013-03-23 13:29     ` Lars-Peter Clausen
     [not found]       ` <514DADE9.50402@nvidia.com>
2013-03-23 13:36         ` Lars-Peter Clausen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.