[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)
commitdff0f8c279e34089128e9687d77bfc72dbb471bd
tree04ba0d2f27da5fe363dc1a0890bfb94219ee638c
parentdebb7241498001a0da10ee01b72f9ec1f9b1edc8
[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