Re: v4l2-ctrls.h: remove wrong copy-and-paste comment

2018-02-02 Thread Sakari Ailus
Hi Hans, On Fri, Feb 02, 2018 at 03:11:48PM +0100, Hans Verkuil wrote: > The __v4l2_ctrl_modify_range is the unlocked variant, so the comment about > taking a lock is obviously wrong. The comment is wrong but I don't think it's a good idea either to leave the matter undocumented. > >

v4l2-ctrls.h: remove wrong copy-and-paste comment

2018-02-02 Thread Hans Verkuil
The __v4l2_ctrl_modify_range is the unlocked variant, so the comment about taking a lock is obviously wrong. Signed-off-by: Hans Verkuil --- diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 5253b5471897..33ce194a7481 100644 ---