From: Hans Verkuil Date: Fri, 11 Apr 2014 08:02:29 +0000 (-0300) Subject: [media] v4l2-pci-skeleton.c: fix alternate field handling X-Git-Tag: omap-for-v3.16/fixes-against-rc1~25^2~243 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f26f2501b81190b60a0b72d611668fb6a59dd24;p=pandora-kernel.git [media] v4l2-pci-skeleton.c: fix alternate field handling For interlaced HDTV timings the correct field setting is FIELD_ALTERNATE, not INTERLACED. Update this template driver accordingly: - add check for the invalid combination of read() and FIELD_ALTERNATE. - in the interrupt handler set v4l2_buffer field to alternating TOP and BOTTOM. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed