[media] uvcvideo: Properly report the inactive flag for inactive controls
authorHans de Goede <hdegoede@redhat.com>
Sun, 8 Apr 2012 15:59:52 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 19:40:31 +0000 (16:40 -0300)
commit55afeb8a4d3ffdf8de546d5de37aca5b229ca9a4
treec2faa161e1265e81e57c9ba66360005869d43699
parentb4012002f3a3983ba2797fde1613691d7f287048
[media] uvcvideo: Properly report the inactive flag for inactive controls

Note the unused in this patch slave_ids addition to the mappings will get
used in a follow up patch to generate control change events for the slave
ctrls when their flags change due to the master control changing value.

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