aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/sh_mobile_ceu_camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/sh_mobile_ceu_camera.c')
-rw-r--r--drivers/media/video/sh_mobile_ceu_camera.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c
index 318754e73132..76838091dc66 100644
--- a/drivers/media/video/sh_mobile_ceu_camera.c
+++ b/drivers/media/video/sh_mobile_ceu_camera.c
@@ -304,9 +304,6 @@ static int sh_mobile_ceu_add_device(struct soc_camera_device *icd)
304 "SuperH Mobile CEU driver attached to camera %d\n", 304 "SuperH Mobile CEU driver attached to camera %d\n",
305 icd->devnum); 305 icd->devnum);
306 306
307 if (pcdev->pdata->enable_camera)
308 pcdev->pdata->enable_camera();
309
310 ret = icd->ops->init(icd); 307 ret = icd->ops->init(icd);
311 if (ret) 308 if (ret)
312 goto err; 309 goto err;
@@ -333,8 +330,6 @@ static void sh_mobile_ceu_remove_device(struct soc_camera_device *icd)
333 ceu_write(pcdev, CEIER, 0); 330 ceu_write(pcdev, CEIER, 0);
334 ceu_write(pcdev, CAPSR, 1 << 16); /* reset */ 331 ceu_write(pcdev, CAPSR, 1 << 16); /* reset */
335 icd->ops->release(icd); 332 icd->ops->release(icd);
336 if (pcdev->pdata->disable_camera)
337 pcdev->pdata->disable_camera();
338 333
339 dev_info(&icd->dev, 334 dev_info(&icd->dev,
340 "SuperH Mobile CEU driver detached from camera %d\n", 335 "SuperH Mobile CEU driver detached from camera %d\n",