Commit Graph

3 Commits

Author SHA1 Message Date
Jacopo Mondi
143b5cc33f libcamera: v4l2_subdevice: Fix S_SELECTION ioctl argument
The SUBDEV_S_SELECTION argument needs to be a pointer. Fix it.

Fixes: 468176fa07 ("libcamera: Add V4L2Subdevice")
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
2019-02-19 09:29:00 +01:00
Kieran Bingham
8cdc3148ad libcamera: v4l2_subdevice: Fix LOG usage
Add the V4L2Subdev category to the last LOG() call requiring it.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2019-02-13 15:43:55 +00:00
Jacopo Mondi
468176fa07 libcamera: Add V4L2Subdevice
Add V4L2Subdevice class that provides an interface to interact with
V4L2 defined sub-devices.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-02-06 07:41:50 +02:00