diff options
| -rw-r--r-- | drivers/media/platform/soc_camera/soc_camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/soc_camera/soc_camera.c b/drivers/media/platform/soc_camera/soc_camera.c index eea832c5fd01..3a4efbdc7668 100644 --- a/drivers/media/platform/soc_camera/soc_camera.c +++ b/drivers/media/platform/soc_camera/soc_camera.c | |||
| @@ -643,9 +643,9 @@ static int soc_camera_close(struct file *file) | |||
| 643 | 643 | ||
| 644 | if (ici->ops->init_videobuf2) | 644 | if (ici->ops->init_videobuf2) |
| 645 | vb2_queue_release(&icd->vb2_vidq); | 645 | vb2_queue_release(&icd->vb2_vidq); |
| 646 | ici->ops->remove(icd); | ||
| 647 | |||
| 648 | __soc_camera_power_off(icd); | 646 | __soc_camera_power_off(icd); |
| 647 | |||
| 648 | ici->ops->remove(icd); | ||
| 649 | } | 649 | } |
| 650 | 650 | ||
| 651 | if (icd->streamer == file) | 651 | if (icd->streamer == file) |
