Hi everybody, Guennadi reported that the OMAP3 ISP driver was missing clean up in init functions error paths. These 4 patches attempt to address the issue. Guennadi, as you reported the problem, could you be so kind to check whether the patches fix it ? :-) Laurent Pinchart (4): omap3isp: Move media_entity_cleanup() from unregister() to cleanup() omap3isp: Move *_init_entities() functions to the init/cleanup section omap3isp: Add missing mutex_destroy() calls omap3isp: Fix memory leaks in initialization error paths drivers/media/video/omap3isp/isp.c | 2 + drivers/media/video/omap3isp/ispccdc.c | 84 +++++++++++-------- drivers/media/video/omap3isp/ispccp2.c | 125 ++++++++++++++------------- drivers/media/video/omap3isp/ispcsi2.c | 91 +++++++++++---------- drivers/media/video/omap3isp/isph3a_aewb.c | 2 +- drivers/media/video/omap3isp/isph3a_af.c | 2 +- drivers/media/video/omap3isp/isphist.c | 2 +- drivers/media/video/omap3isp/isppreview.c | 108 ++++++++++++------------ drivers/media/video/omap3isp/ispresizer.c | 104 ++++++++++++----------- drivers/media/video/omap3isp/ispstat.c | 52 +++++++----- drivers/media/video/omap3isp/ispstat.h | 2 +- drivers/media/video/omap3isp/ispvideo.c | 11 ++- drivers/media/video/omap3isp/ispvideo.h | 1 + 13 files changed, 317 insertions(+), 269 deletions(-) -- Regards Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html