summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2017-05-22 17:13:49 +0530
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-12-24 01:27:29 +0100
commitcba63c66fa15eee75c7d135f6e672f0662111bd1 (patch)
tree75f18b28b1b13594be0639c08e0a25f3df13a8b3 /drivers
parentd0fa202ec506027902b3a2a427db4a494df8d64c (diff)
ov5640_mipi: Revert the hack
Revert the hack for reset GPIO request failure. (Remove the used pins from /usr/bin/gpio-export.sh) Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit d826eb44e78b5103c96c3e1c28ede8ec224e5371)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/mxc/capture/ov5640_mipi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/mxc/capture/ov5640_mipi.c b/drivers/media/platform/mxc/capture/ov5640_mipi.c
index 270b496d9c7f..8d600afc063b 100644
--- a/drivers/media/platform/mxc/capture/ov5640_mipi.c
+++ b/drivers/media/platform/mxc/capture/ov5640_mipi.c
@@ -2076,7 +2076,7 @@ static int ov5640_probe(struct i2c_client *client,
"ov5640_mipi_reset");
if (retval < 0) {
dev_warn(dev, "request of ov5640_mipi_reset failed");
- //return retval;
+ return retval;
}
/* Set initial values for the sensor struct. */