summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-21Don't set formats on remote pads if the remote entity is not a subdevLaurent Pinchart
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>
2010-05-19Zero structures before filling themLaurent Pinchart
The parse_format function fills a v4l2_mbus_framefmt structure but doesn't zero it beforehand. This results in some fields being uninitialized. Fix this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-05-19Return -errno in functions returning a negative error codeLaurent Pinchart
errno is a positive value, fix functions that return errno when they are expected to return a negative error code. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-05-19Initial importLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>