Don't set formats on remote pads if the remote entity is not a subdev
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 20 May 2010 22:45:48 +0000 (00:45 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 20 May 2010 22:45:48 +0000 (00:45 +0200)
commit23a9a40c33d284ee280b330b1ced9a7b6bcffd89
treeb29614b0ee680cad68381f443367b49695663c58
parent3a78a901bbc07d9283a9b80e22be4e9500697745
Don't set formats on remote pads if the remote entity is not a subdev

When setting format on an output pad, the same format is automatically
set on the remote pads, if any. As the format setting API is
subdev-specific, skip remote pads that belong to a non-subdev entity.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
main.c