summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-14Enumerate entities using MEDIA_ENTITY_ID_FLAG_NEXTLaurent Pinchart
Entity IDs don't have to be contiguous. Use the new flag-based enumeration system instead of looping over consecutive IDs. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-06-08strerror takes a non-negative integerLaurent Pinchart
Negative error codes were passed untouched to strerror which then reported an unknown error. Use the positive error code instead. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-06-03Don't exit with an error when called with -hLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-06-02Print active formats when printing device topologyLaurent Pinchart
When run with the -p argument, print the active format on all subdev pads. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-05-21Add --print-dot option to print topology as a dot graphLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
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>