summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-08-22 17:50:41 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:44:07 +0900
commitd8c8f191882727644e8901c15ce741ef3af044ac (patch)
treea5013c6862aa6bd23238892ba216a08a135d62b9
parent92ef082438e1e98d5bd2c73353e779162fe28c1c (diff)
downloadlinux-3.10-d8c8f191882727644e8901c15ce741ef3af044ac.tar.gz
linux-3.10-d8c8f191882727644e8901c15ce741ef3af044ac.tar.bz2
linux-3.10-d8c8f191882727644e8901c15ce741ef3af044ac.zip
s5c73m3: Set default data plane lengths for interleaved data
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-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;