[media] staging: media: omap4iss: Cleanup media entities after unregistration
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 11 Dec 2014 13:23:57 +0000 (10:23 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:17:04 +0000 (21:17 -0300)
commit9d9104fb9db90f7d806b1f0ba270c209b8d4fa25
treeb790902cab2d1a2e978ea9668c3013285a2e2460
parente831cd251fb91d6c25352d322743db0d17ea11dd
[media] staging: media: omap4iss: Cleanup media entities after unregistration

The ipipeif, ipipe and resizer media entities are cleaned up before
unregistering the media device, creating a race condition. Fix it by
cleaning them up at cleanup time.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/omap4iss/iss_ipipe.c
drivers/staging/media/omap4iss/iss_ipipeif.c
drivers/staging/media/omap4iss/iss_resizer.c