diff options
author | Frank Schaefer <fschaefer.oss@googlemail.com> | 2014-01-12 17:24:20 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-14 17:31:32 +0100 |
commit | 23e8642cc48171151cc89a33eb84c929dcdf2c19 (patch) | |
tree | 6bdb60c2c925831c2f7cfd8b8747d877f1d16338 /drivers/media/usb/em28xx/em28xx-video.c | |
parent | [media] em28xx: move usb buffer pre-allocation and transfer uninit from the c... (diff) | |
download | linux-23e8642cc48171151cc89a33eb84c929dcdf2c19.tar.xz linux-23e8642cc48171151cc89a33eb84c929dcdf2c19.zip |
[media] em28xx: move usb transfer uninit on device disconnect from the core to the v4l-extension
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-video.c')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index efbc877c6181..a5a665b41060 100644 --- a/drivers/media/usb/em28xx/em28xx-video.c +++ b/drivers/media/usb/em28xx/em28xx-video.c @@ -1893,6 +1893,8 @@ static int em28xx_v4l2_fini(struct em28xx *dev) return 0; } + em28xx_uninit_usb_xfer(dev, EM28XX_ANALOG_MODE); + if (dev->radio_dev) { if (video_is_registered(dev->radio_dev)) video_unregister_device(dev->radio_dev); |