Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (9743): em28xx: fix oops audio

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=

Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Douglas Schilling Landgraf and committed by
Mauro Carvalho Chehab
faa3bd2e 50f3beb5

+1 -1
+1 -1
drivers/media/video/em28xx/em28xx-audio.c
··· 62 62 63 63 dprintk("Stopping isoc\n"); 64 64 for (i = 0; i < EM28XX_AUDIO_BUFS; i++) { 65 - usb_kill_urb(dev->adev->urb[i]); 65 + usb_unlink_urb(dev->adev->urb[i]); 66 66 usb_free_urb(dev->adev->urb[i]); 67 67 dev->adev->urb[i] = NULL; 68 68 }