[media] s5p-jpeg: Initialize cb and cr to zero
authorTony K Nadackal <tony.kn@samsung.com>
Wed, 17 Dec 2014 07:21:21 +0000 (04:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Mar 2015 11:57:12 +0000 (08:57 -0300)
commitcb0c3f5f1b888fa0283c2581c91bb10728ac1b22
treea32bca2cce1e2c34ae8616afdfd7caca379357f3
parentd5c00762ec5db2f7a7c0b54415b7df364c78d39d
[media] s5p-jpeg: Initialize cb and cr to zero

To avoid garbage value written into image base address planes,
initialize cb and cr of structure s5p_jpeg_addr to zero.

Signed-off-by: Tony K Nadackal <tony.kn@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-jpeg/jpeg-core.c