[media] s5p-jpeg: Initialize jpeg_addr fields to zero
authorJacek Anaszewski <j.anaszewski@samsung.com>
Thu, 5 Mar 2015 13:56:25 +0000 (10:56 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 7 Apr 2015 11:14:54 +0000 (08:14 -0300)
commit12b055662ac6216c518d7ec09bf2f7d75435015c
tree7e32cc900e64148a7dab479865f04a607e4d2e61
parent7c15fd4bf3d367bfc80f76814559f51f75c4d28a
[media] s5p-jpeg: Initialize jpeg_addr fields to zero

JPEG codecs on Exynos4 and Exynos3250 SoCs utilize different number
of planes for storing the raw image data, depending on the format
of the image being processed. For the unused planes a random data
was being written to the related registers. Regardless of the fact
that this seemed not to be harmful, fix the issue for clarity reasons.

Reported-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@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