summaryrefslogtreecommitdiff
path: root/isp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-08-23 11:58:31 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-14 13:11:09 +0200
commit46b4b73123bd4ae12836418f5072e4a71c812940 (patch)
tree37149c550c0d8d9649864b76d967aab12c7efdc5 /isp
parent9545a55f630a8bbf2f077c6092d2dfe20f69c30e (diff)
omap3isp: Close subdevs when destroying pipelines
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp')
-rw-r--r--isp/omap3isp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/isp/omap3isp.c b/isp/omap3isp.c
index a19e65d..a85db10 100644
--- a/isp/omap3isp.c
+++ b/isp/omap3isp.c
@@ -356,6 +356,7 @@ static void omap3_isp_pipeline_destroy(struct omap3_isp_pipeline *pipe)
break;
case OMAP3_ISP_ENTITY_ENTITY:
+ v4l2_subdev_close(entity->entity);
free(entity);
break;
}