mbox series

[0/2] v4l2-ctrls: various improvements

Message ID 20200303110200.2571176-1-hverkuil-cisco@xs4all.nl
Headers show
Series v4l2-ctrls: various improvements | expand

Message

Hans Verkuil March 3, 2020, 11:01 a.m. UTC
The first patch improves WARN_ON handling, the second adds a
generic __v4l2_ctrl_s_ctrl_compound function and replaces the
__v4l2_ctrl_s_ctrl_area functions by defines that use the new
__v4l2_ctrl_s_ctrl_compound instead.

Regards,

	Hans

Hans Verkuil (2):
  v4l2-ctrls: v4l2_ctrl_g/s_ctrl*(): don't continue when WARN_ON
  v4l2-ctrls: add __v4l2_ctrl_s_ctrl_compound()

 drivers/media/v4l2-core/v4l2-ctrls.c | 26 +++++++++------
 include/media/v4l2-ctrls.h           | 49 ++++++++++++++++------------
 2 files changed, 45 insertions(+), 30 deletions(-)