Skip to content

Commit faa3bd2

Browse files
Douglas Schilling LandgrafMauro Carvalho Chehab
authored andcommitted
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 50f3beb commit faa3bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/video/em28xx/em28xx-audio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static int em28xx_isoc_audio_deinit(struct em28xx *dev)
6262

6363
dprintk("Stopping isoc\n");
6464
for (i = 0; i < EM28XX_AUDIO_BUFS; i++) {
65-
usb_kill_urb(dev->adev->urb[i]);
65+
usb_unlink_urb(dev->adev->urb[i]);
6666
usb_free_urb(dev->adev->urb[i]);
6767
dev->adev->urb[i] = NULL;
6868
}

0 commit comments

Comments
 (0)