[media] s5p_mfc: correct the loop condition
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Thu, 4 Sep 2014 02:28:06 +0000 (23:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 26 Sep 2014 09:47:45 +0000 (06:47 -0300)
commit00684dab287956573122815bfdc04cb4b4561033
tree52120c003c58917bb199fb56124daf225f8071ca
parent327eeb3a1a335f2580e72878191ca7a5236797bc
[media] s5p_mfc: correct the loop condition

It should take ctx->dst_fmt->num_planes as
the loop condition for CAPTURE.

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c