]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx-audio: Some Alsa API fixes
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 19 Jun 2011 16:39:31 +0000 (13:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:04 +0000 (17:53 -0300)
commite5afe69aa0eb10ac60409e926131fc12c1561cdf
tree04ba0d2f27da5fe363dc1a0890bfb94219ee638c
parentbf06685985c3cb859d477e10055ed9ad418b76d0
[media] em28xx-audio: Some Alsa API fixes

Mark the alsa stream with SNDRV_PCM_INFO_BATCH,
as the timing to get audio streams can vary.

Also, add SNDRV_PCM_TRIGGER for pause/release.

while here, fix the stop indicator, to be sure that audio
will be properly released at the stop events.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-audio.c