[media] s5p-jpeg: Adjust buffer size for Exynos 4412
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 8 Dec 2015 14:39:08 +0000 (12:39 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 19:24:15 +0000 (16:24 -0300)
commit77401dd7394c5d7b593718361ac6bb8f1aa4db62
tree8f33dd067bf5a4d94b37c1c64fe6ccfcea3f5144
parent5790a1589f746d5648825d3bc8367f0ce7b12784
[media] s5p-jpeg: Adjust buffer size for Exynos 4412

Eliminate iommu fault during encoding by adjusting image size
used for buffer size computation and ensuring that the buffer
is not overrun.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@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