[media] s5p-fimc: Iterate for each memory plane
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 25 Mar 2014 20:52:31 +0000 (17:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 13 May 2014 23:06:21 +0000 (20:06 -0300)
commit8411323f8e04fca0f0cd23e5cea815e179c63a09
tree582b98a7fabcf369306e90fb6f8730965dbcefa2
parentec77581a6ca0be566bf3428263820da6d12ed5ae
[media] s5p-fimc: Iterate for each memory plane

Depth and payload is defined per memory plane. It's better to iterate using
number of memory planes. This was not causing much issue since the rest
of the arrays involved where intialized to zero.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/exynos4-is/fimc-core.c
drivers/media/platform/exynos4-is/fimc-m2m.c