[media] uvcvideo: GET_RES should only be checked for BITMAP type menu controls
authorHans de Goede <hdegoede@redhat.com>
Tue, 11 Oct 2011 14:54:26 +0000 (11:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Nov 2011 13:40:44 +0000 (11:40 -0200)
commit241fa6e42f5462a82f00ddf5169628a8c3976548
tree5b67d8138dc708e9daa917edf3cc84b78f4aaa8d
parentb3f4e1eba45eda5d1213810ef3bc53e5247df2df
[media] uvcvideo: GET_RES should only be checked for BITMAP type menu controls

Currently it is also being checked for non BITMAP type menu controls,
breaking the logitech LED control menu added by uvcdynctrl, as well as
potentially breaking the powerline frequency menu.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_ctrl.c