[media] v4l: vsp1: Fix RPF cropping
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 12 Sep 2016 15:38:36 +0000 (12:38 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 17:56:03 +0000 (14:56 -0300)
commitabe9609f808140f46d092035b75dd58ae80db056
tree20e85c9171bb038e71b45979882cfe4fa9479e0c
parentb61bead62ec4264fbb529a5730558f4c87a46ae4
[media] v4l: vsp1: Fix RPF cropping

The RPF cropping offset for the chroma planes is incorrectly computed,
it needs to be divided by the horizontal subsampling factor.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_rpf.c