 +#endif
 diff --git a/drivers/media/i2c/soc_camera/max9271_ov490_ov10640.h b/drivers/media/i2c/soc_camera/max9271_ov490_ov10640.h
 new file mode 100644
-index 0000000..000407f
+index 0000000..1274165
 --- /dev/null
 +++ b/drivers/media/i2c/soc_camera/max9271_ov490_ov10640.h
-@@ -0,0 +1,35 @@
+@@ -0,0 +1,32 @@
 +/*
 + * OmniVision ov490-ov10640 sensor camera wizard 1280x1080@30/UYVY/BT601/8bit
 + *

+static int ov490_set_regs(struct i2c_client *client,
+			  const struct ov490_reg *regs, int nr_regs)
+{
+	int i, ret;
+
+	for (i = 0; i < nr_regs; i++) {
+		ret = maxim_reg16_write(client, regs[i].reg, regs[i].val);
+#if 0 /* Do not stop on write fail .... */
+		if (ret)
+			return ret;
+#endif
+	}
+
+	return 0;

---
 drivers/media/i2c/soc_camera/Kconfig               |   37 +
 drivers/media/i2c/soc_camera/Makefile              |    4 +
 drivers/media/i2c/soc_camera/max9271_ov10635.c     |  638 +++++++++++
 drivers/media/i2c/soc_camera/max9271_ov10635.h     | 1149 ++++++++++++++++++++
 drivers/media/i2c/soc_camera/max9271_ov106xx.c     |   84 ++
 .../media/i2c/soc_camera/max9271_ov490_ov10640.c   |  890 +++++++++++++++
 .../media/i2c/soc_camera/max9271_ov490_ov10640.h   |   32 +
 drivers/media/i2c/soc_camera/max9286_max9271.c     |  478 ++++++++
 drivers/media/i2c/soc_camera/max9286_max9271.h     |  210 ++++
 .../i2c/soc_camera/max9286_max9271_ov10635_debug.h |   54 +
 drivers/media/platform/soc_camera/rcar_csi2.c      |  159 ++-
