s5c73m3: Set default data plane lengths for interleaved data
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 22 Aug 2013 15:50:41 +0000 (17:50 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:07 +0000 (11:44 +0900)
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/media/i2c/s5c73m3/s5c73m3-core.c

index b79e100..1ff7509 100644 (file)
@@ -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;