Patch 1 is fix for the analog device initialization on the first open() call.
Patches 2-7 move some dvb and v4l specific code from the core module to the
extension modules and fix the resources releasing logic/order in the core and
the v4l2 module. This will also fix the various sysfs group remove warnings
which we can see since kernel 3.13.
Patch 8 finally removes some dead code lines and fixes leaking the memory of
video, vbi and radio video_device structs.
I've tested all patches carefully with the devices I have, but because this is
really critical stuff, they should be reviewed and tested by others, too.
Frank Schäfer (8):
em28xx-v4l: fix device initialization in em28xx_v4l2_open() for radio
and VBI mode
em28xx: move usb buffer pre-allocation and transfer uninit from the
core to the dvb extension
em28xx: move usb transfer uninit on device disconnect from the core to
the v4l-extension
em28xx: move v4l2_device_disconnect() call from the core to the v4l
extension
em28xx-v4l: move v4l2_ctrl_handler freeing and v4l2_device
unregistration to em28xx_v4l2_fini
em28xx: move v4l2 dummy clock deregistration from the core to the v4l
extension
em28xx: always call em28xx_release_resources() in the usb disconnect
handler
em28xx-v4l: fix the freeing of the video devices memory
drivers/media/usb/em28xx/em28xx-cards.c | 48 ++--------------
drivers/media/usb/em28xx/em28xx-dvb.c | 23 ++++++++
drivers/media/usb/em28xx/em28xx-video.c | 91 +++++++++++++++++++------------
3 Dateien geändert, 85 Zeilen hinzugefügt(+), 77 Zeilen entfernt(-)
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html