diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-05-20 03:15:00 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 22:33:25 +0400 |
commit | 3653639e5daf2ac5f4763e4f1b6cb57538184be9 (patch) | |
tree | d80eb99b2e9ab315de40f3068af8a790b1378261 /drivers/media/common/Kconfig | |
parent | e56be916660da811fe4e830dfb958f13af361d59 (diff) | |
download | linux-3653639e5daf2ac5f4763e4f1b6cb57538184be9.tar.xz |
V4L/DVB: uvcvideo: Make button controls work properly
According to the v4l2 spec, writing any value to a button control should
result in the action belonging to the button control being triggered.
UVC cams however want to see a 1 written, this patch fixes this by
overriding whatever value user space passed in with -1 (0xffffffff) when
the control is a button control.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/Kconfig')
0 files changed, 0 insertions, 0 deletions