upstream: [media] v4l2: use new V4L2_DV_BT_BLANKING/FRAME defines
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 29 Jul 2013 11:41:00 +0000 (08:41 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:51:37 +0000 (11:51 +0900)
commit2c620e505ed23c37425c2d27f127243f5177e51d
tree6c74dcdce4f11696d1d5af3b52ee19164b8ae6f2
parentf51811dc958c2e331c6b0a1dead14a311b02f48b
upstream: [media] v4l2: use new V4L2_DV_BT_BLANKING/FRAME defines

Use the new blanking and frame size defines. This also fixed a bug in
these drivers: they assumed that the height for interlaced formats was
the field height, however height is the frame height. So the height
for a field is actually bt->height / 2.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpif_capture.c
drivers/media/platform/davinci/vpif_display.c