summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/media/i2c/s5c73m3/s5c73m3-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
index b79e100664a..1ff7509ecb0 100644
--- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c
+++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
@@ -1699,6 +1699,10 @@ static int s5c73m3_probe(struct i2c_client *client,
state->i2c_client = client;
+ /* Initialize data plane lengths for the interleaved image data. */
+ state->frame_desc.entry[0].length = 10 * SZ_1M;
+ state->frame_desc.entry[1].length = S5C73M3_EMBEDDED_DATA_MAXLEN;
+
v4l2_info(sd, "%s: completed succesfully\n", __func__);
return 0;