[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)
commit01df530c2791610727e345b3dd97ef75943c7320
treec0e6588230df2335afe4ff6a9bd4fc59e635ede2
parent5d478e0de87113b9fa6b4021935e605b71e0ee28
[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