summaryrefslogtreecommitdiff
path: root/include/linux/media-bus-format.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-03-23 06:05:46 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-03-27 18:26:15 +0200
commitf8386836dfda04c626e63ba9d64c1a4f63867dfa (patch)
tree087c476c791cca82602f19fec0d372ba1e7abbbf /include/linux/media-bus-format.h
parent3f906920e4d448441c442be1ce6c7376e33d4237 (diff)
cam: Separate options valid() and empty()
An empty option list is not necessarily an error. Add a new empty() function to test the option list for emptiness, and modify the valid() function to only notify parsing errors. As a side effect this allows accessing partially parsed options, which may be useful in the future. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include/linux/media-bus-format.h')
0 files changed, 0 insertions, 0 deletions