diff --git a/drivers/media/platform/soc_camera/soc_camera.c b/drivers/media/platform/soc_camera/soc_camera.c index 4105a9ed5f71b2583b3a6b5a93306797394f5901..cee7b56f840499440142bc598fbd588bd8469f67 100644 --- a/drivers/media/platform/soc_camera/soc_camera.c +++ b/drivers/media/platform/soc_camera/soc_camera.c @@ -1797,8 +1797,6 @@ static int soc_camera_probe(struct soc_camera_host *ici, mutex_unlock(&ici->clk_lock); } eadd: - video_device_release(icd->vdev); - icd->vdev = NULL; if (icd->vdev) { video_device_release(icd->vdev); icd->vdev = NULL;