max9286: Power down GPIO lines to enable the V3M cameras

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c
index 42b99b4..91f1167 100644
--- a/drivers/media/i2c/max9286.c
+++ b/drivers/media/i2c/max9286.c
@@ -649,6 +649,13 @@ static int max9286_init(struct device *dev, void *data)
 		goto err_regulator;
 	}
 
+	/* This should expose the GPIO to provide a gpio-hog */
+
+	/* Enable camera power */
+	max9286_write(max9286_dev, 0x0f, 0xD0);
+
+	usleep_range(7000000, 8000000);
+
 	v4l2_i2c_subdev_init(&max9286_dev->sd, client, &max9286_subdev_ops);
 	max9286_dev->sd.flags = V4L2_SUBDEV_FL_HAS_DEVNODE;