media: s5p-jpeg: Adjust buffer size for Exynos 4412 32/39532/1
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Mon, 18 May 2015 10:14:01 +0000 (12:14 +0200)
committerAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Mon, 18 May 2015 10:14:56 +0000 (12:14 +0200)
commit002a740af38610cf26ebe167cd76c283509714cb
treee51abdac77a94344d42eb8908c03327c76ac7ca7
parentc7b095b0e3ced802829b2a88085f126762b9cef1
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.

Change-Id: I4837ef4cd518732af8110725b50e8f4e1bd313a9
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
drivers/media/platform/s5p-jpeg/jpeg-core.c