[media] em28xx-audio: disconnect before freeing URBs
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 12 Jan 2014 21:14:05 +0000 (18:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 16:36:29 +0000 (14:36 -0200)
commit1fe2e3bff4f862d971207c846e4df61160c0e858
treee1cc009c7ff16197f711de5aa299e3cf07b9a237
parent0cd03a0cb20c75a70a154b946dcf4b3461ceff36
[media] em28xx-audio: disconnect before freeing URBs

URBs might be in usage. Disconnect the device before freeing
them.

Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Tested-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c