V4L/DVB (10519): em28xx: Fix for em28xx audio startup
authorRobert Krakora <rob.krakora@messagenetsystems.com>
Sun, 8 Feb 2009 16:10:39 +0000 (13:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:44 +0000 (12:42 -0300)
commitc744dff260e9efb1080d1e823e588f85176a057b
tree2f958d361f190e2c29827d725a83593dda4a5f5b
parentaa5a1821859c9c2915bc00e79f6e01e619df6e8f
V4L/DVB (10519): em28xx: Fix for em28xx audio startup

Essentially if a snd_em28xx_capture_trigger() stop followed by a snd_em28xx_capture_trigger() start would not yield any
data because there was some logic put in with an adev->shutdown variable which did not seem warranted in my humble opinion.
It would cause snd_em28xx_capture_trigger start never to start up the audio stream until the device was closed and
reopened again. Upon re-opening the device adev->shutdown is reset and audio data would again flow.

Signed-off-by: Robert Krakora <rob.krakora@messagenetsystems.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-audio.c
drivers/media/video/em28xx/em28xx.h