[media] tvp5150: fix pad format frame height
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 31 Mar 2017 13:33:26 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Apr 2017 17:42:19 +0000 (14:42 -0300)
commit0866df8dffd514185bfab0d205db76e4c02cf1e4
tree443c9edb7b23cd32abad3149d2e02ccf1a210e17
parentf6f0e2f5d79dc2ff6eb63b890276d4f4284f6d57
[media] tvp5150: fix pad format frame height

Even if field order is set to V4L2_FIELD_ALTERNATE, the width and height
values in struct v4l2_mbus_framefmt still refer to frame size, not field
size.

Fixes: 4f57d27be2a5 ("[media] tvp5150: fix tvp5150_fill_fmt()")

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tvp5150.c