aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/soc_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c
index a14df27d2552..b82710745ba8 100644
--- a/drivers/media/video/soc_camera.c
+++ b/drivers/media/video/soc_camera.c
@@ -600,9 +600,9 @@ static int soc_camera_close(struct file *file)
600 pm_runtime_suspend(&icd->vdev->dev); 600 pm_runtime_suspend(&icd->vdev->dev);
601 pm_runtime_disable(&icd->vdev->dev); 601 pm_runtime_disable(&icd->vdev->dev);
602 602
603 ici->ops->remove(icd);
604 if (ici->ops->init_videobuf2) 603 if (ici->ops->init_videobuf2)
605 vb2_queue_release(&icd->vb2_vidq); 604 vb2_queue_release(&icd->vb2_vidq);
605 ici->ops->remove(icd);
606 606
607 soc_camera_power_off(icd, icl); 607 soc_camera_power_off(icd, icl);
608 } 608 }