From 78506ab75e0cbbfbf372867cc24282d7e739f4d6 Mon Sep 17 00:00:00 2001 From: Ranjith Kagathi Ananda Date: Fri, 4 Sep 2015 16:48:10 -0700 Subject: [PATCH] msm: ispif: Remove handling of SD_SHUTDOWN Remove handling of SD_SHUTDOWN to avoid multiple release. Bug: 31243641 Change-Id: I09db8adb766d2e7889443f779a716aaa2f6c09d1 Signed-off-by: Harsh Shah Signed-off-by: Ranjith Kagathi Ananda --- drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c b/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c index 5115e3853fe1c..fb1f93cd4c0bc 100644 --- a/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c +++ b/drivers/media/platform/msm/camera_v2/ispif/msm_ispif.c @@ -1325,10 +1325,6 @@ static long msm_ispif_subdev_ioctl(struct v4l2_subdev *sd, case VIDIOC_MSM_ISPIF_CFG: return msm_ispif_cmd(sd, arg); case MSM_SD_SHUTDOWN: { - struct ispif_device *ispif = - (struct ispif_device *)v4l2_get_subdevdata(sd); - if (ispif && ispif->base) - msm_ispif_release(ispif); return 0; } default: