]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] uvcvideo: Send control change events for slave ctrls when the master changes
authorHans de Goede <hdegoede@redhat.com>
Sun, 8 Apr 2012 15:59:53 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 19:41:35 +0000 (16:41 -0300)
commit805e9b4a06bf874c56e0811e9cca5e25cf465e42
tree4a45d1fbbe4aa3c66774a9fc441aa3536d395a14
parent55afeb8a4d3ffdf8de546d5de37aca5b229ca9a4
[media] uvcvideo: Send control change events for slave ctrls when the master changes

This allows v4l2 control UI-s to update the inactive state (ie grey-ing
out of controls) for slave controls when the master control changes.

[Use __uvc_find_control() to find slave controls, as they're always
located in the same entity as the corresponding master control]

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