]> git.baikalelectronics.ru Git - kernel.git/commit
[media] bttv: convert to the control framework
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 6 Feb 2013 15:40:28 +0000 (12:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:12:05 +0000 (14:12 -0300)
commit5b9fbb6d95c5cffaf171b656f53cdda71085874a
treec0e6588230df2335afe4ff6a9bd4fc59e635ede2
parentfc02d73c059a71aa039cd770bb1aea101bdbec07
[media] bttv: convert to the control framework

Note that the private chroma agc control has been replaced with the standard
CHROMA_AGC control.
Also fixes a mute/automute problem where closing the file handle would force
mute on. That's not what you want since that would make the mute state out of
sync with the mute control. Instead check against the user count.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-cards.c
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/pci/bt8xx/bttvp.h
include/uapi/linux/v4l2-controls.h