commit | a46c5fbc6912c4e34cb7ded314249b639dc244a6 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Thu Jul 19 04:53:36 2007 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Fri Jul 20 17:35:53 2007 -0300 |
tree | bc247e83bf5da2c0c89dae099e1a75361c9d1ec7 | |
parent | 3d58ffe2aa107df6db57f875dba5368960b17cde [diff] |
V4L/DVB (5869): Add check for valid control ID to v4l2_ctrl_next. If v4l2_ctrl_next is called without the V4L2_CTRL_FLAG_NEXT_CTRL then it should check whether the passed control ID is valid and return 0 if it isn't. Otherwise a for-loop over the control IDs will never end. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>