diff options
author | Douglas Schilling Landgraf <dougsland@linuxtv.org> | 2008-11-24 10:51:20 -0200 |
---|---|---|
committer | Douglas Schilling Landgraf <dougsland@linuxtv.org> | 2008-11-24 10:51:20 -0200 |
commit | a7992964c85bcd6fd2140245b904c9a54bc93238 (patch) | |
tree | 2291052bfa894c1b0dd232436b414329b1e04961 /linux | |
parent | 7dddcd8c1610cacae33a0ee67971d597c4bdaffb (diff) | |
download | mediapointer-dvb-s2-a7992964c85bcd6fd2140245b904c9a54bc93238.tar.gz mediapointer-dvb-s2-a7992964c85bcd6fd2140245b904c9a54bc93238.tar.bz2 |
em28xx: fix oops audio
From: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Replaced usb_kill_usb for usb_unlink_usb
(wait until urb to fully stop require USB core to put the calling process to sleep).
Oops:
http://www.kerneloops.org/raw.php?rawid=71799&msgid=
Priority: high
Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-audio.c b/linux/drivers/media/video/em28xx/em28xx-audio.c index 7bdbbf717..c62455202 100644 --- a/linux/drivers/media/video/em28xx/em28xx-audio.c +++ b/linux/drivers/media/video/em28xx/em28xx-audio.c @@ -63,7 +63,7 @@ static int em28xx_isoc_audio_deinit(struct em28xx *dev) dprintk("Stopping isoc\n"); for (i = 0; i < EM28XX_AUDIO_BUFS; i++) { - usb_kill_urb(dev->adev->urb[i]); + usb_unlink_urb(dev->adev->urb[i]); usb_free_urb(dev->adev->urb[i]); dev->adev->urb[i] = NULL; } |