V4L/DVB (8112): videodev: improve extended control support in video_ioctl2()
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 25 Jun 2008 09:29:01 +0000 (06:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:12:18 +0000 (07:12 -0300)
commitd8799b4699af008290e141804b40c5ebf3d7dc35
treea41396cd14c12be748b83691d8bdb298755caf69
parent36ecd4955a5ebee6135e2bcc997712fad4ac9b69
V4L/DVB (8112): videodev: improve extended control support in video_ioctl2()

- add sanity checks for the extended controls argument.
- if the driver only supports extended controls, then convert
  old-style controls to an extended control callback.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videodev.c