|
@@ -1146,10 +1146,6 @@ static int soc_camera_probe(struct soc_camera_device *icd)
|
|
|
if (ret < 0)
|
|
|
goto evidstart;
|
|
|
|
|
|
- ret = v4l2_subdev_call(sd, core, s_power, 1);
|
|
|
- if (ret < 0 && ret != -ENOIOCTLCMD)
|
|
|
- goto esdpwr;
|
|
|
-
|
|
|
/* Try to improve our guess of a reasonable window format */
|
|
|
if (!v4l2_subdev_call(sd, video, g_mbus_fmt, &mf)) {
|
|
|
icd->user_width = mf.width;
|
|
@@ -1166,8 +1162,6 @@ static int soc_camera_probe(struct soc_camera_device *icd)
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
-esdpwr:
|
|
|
- video_unregister_device(icd->vdev);
|
|
|
evidstart:
|
|
|
mutex_unlock(&icd->video_lock);
|
|
|
soc_camera_free_user_formats(icd);
|