diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-03-23 06:05:46 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-03-27 18:26:15 +0200 |
commit | f8386836dfda04c626e63ba9d64c1a4f63867dfa (patch) | |
tree | 087c476c791cca82602f19fec0d372ba1e7abbbf /include/linux/v4l2-mediabus.h | |
parent | 3f906920e4d448441c442be1ce6c7376e33d4237 (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/v4l2-mediabus.h')
0 files changed, 0 insertions, 0 deletions