[libcamera-devel,0/2] libcamera: v4l2_device: Fix control enumeration for M2M devices
mbox series

Message ID 20221003190706.19816-1-laurent.pinchart@ideasonboard.com
Headers show
Series
  • libcamera: v4l2_device: Fix control enumeration for M2M devices
Related show

Message

Laurent Pinchart Oct. 3, 2022, 7:07 p.m. UTC
Hello,

This small patch series fixes a failure of the V4L2 helpers to enumerate
controls for M2M devices.

Patch 1/2 starts by adding a unit test to catch the issue. Patch 2/2
then fixes it. The second patch originates from Xavier's "[PATCH 00/14]
Add dw100 dewarper support to simple/rkisp1 pipeline" series and
provides an alternative to patches 02/14 and 03/14 in what I believe is
a simpler way.

Laurent Pinchart (2):
  test: v4l2_m2mdevice: Test control enumeration
  libcamera: v4l2_device: List controls when setting file descriptor

 src/libcamera/v4l2_device.cpp            | 4 ++--
 test/v4l2_videodevice/v4l2_m2mdevice.cpp | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)