[media] media: rcar-vin: fix height for TOP and BOTTOM fields
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 2 Sep 2016 16:45:00 +0000 (13:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 19:33:07 +0000 (16:33 -0300)
commitc6b3d8fc79a93aa1139c080bbb7402db846cc9f7
treeb43d85b977b3258ab98ea335dc9b257d006d35b3
parentd6482537f666ab024925e5a126cfaeede34a3801
[media] media: rcar-vin: fix height for TOP and BOTTOM fields

The height used for V4L2_FIELD_TOP and V4L2_FIELD_BOTTOM where wrong.
The frames only contain one field so the height should be half of the
frame.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/rcar-vin/rcar-v4l2.c