[media] v4l: subdev: Extend default link validation to cover field order
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 19 May 2014 14:36:23 +0000 (11:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:12 +0000 (15:25 -0500)
commit24acf8b211e25414cb288305292a1fda136c0bd8
treed036eba3e9a760826b4b3e8b14fca7edc3c32fe7
parent0e2a6b7f2b9303410c93fd4724f9d36ebc7be1c3
[media] v4l: subdev: Extend default link validation to cover field order

The field order must match between the source and sink pads, or the sink
pad field order must be NONE. This allows connecting an interlaced
source to a bridge that has no hardware support for interlaced formats.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Enrico Butera <ebutera@users.sourceforge.net>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-subdev.c