omap3isp: ccdc: Fix crash in HS/VS interrupt handler
[pandora-kernel.git] / drivers / media / video / omap3isp / ispccdc.c
index 54a4a3f..a319281 100644 (file)
@@ -1406,8 +1406,7 @@ static int __ccdc_handle_stopping(struct isp_ccdc_device *ccdc, u32 event)
 
 static void ccdc_hs_vs_isr(struct isp_ccdc_device *ccdc)
 {
-       struct isp_pipeline *pipe =
-               to_isp_pipeline(&ccdc->video_out.video.entity);
+       struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
        struct video_device *vdev = ccdc->subdev.devnode;
        struct v4l2_event event;