media: mtk-mdp: fix bytesperline

We should set pix_mp->plane_fmt[i].bytesperline to the minimum
between pix_mp->plane_fmt[i].bytesperline and bpl. Conditionaly set
pix_mp->plane_fmt[i].bytesperline.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Change-Id: Ib589a612cf98aaaccf1e342bdefe2f019ec681a4
1 file changed