diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-06 15:49:14 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 18:02:58 +0100 |
commit | 76ea992a036c4a5d3bc606a79ef775dd32fd3daa (patch) | |
tree | daf867d8f5b1a7a27316c5373e8ea38bcb99e0f4 /drivers/media/pci/bt8xx/bttvp.h | |
parent | [media] bttv: disable g/s_tuner and g/s_freq when no tuner present, fix retur... (diff) | |
download | linux-76ea992a036c4a5d3bc606a79ef775dd32fd3daa.tar.xz linux-76ea992a036c4a5d3bc606a79ef775dd32fd3daa.zip |
[media] bttv: set initial tv/radio frequencies
Set an initial frequencies when the driver is loaded. That way G_FREQUENCY will
give a frequency that corresponds with reality.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/bt8xx/bttvp.h')
-rw-r--r-- | drivers/media/pci/bt8xx/bttvp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/pci/bt8xx/bttvp.h b/drivers/media/pci/bt8xx/bttvp.h index 9ec0adba236c..528e03ec19e8 100644 --- a/drivers/media/pci/bt8xx/bttvp.h +++ b/drivers/media/pci/bt8xx/bttvp.h @@ -418,7 +418,7 @@ struct bttv { unsigned int input; unsigned int audio; unsigned int mute; - unsigned long freq; + unsigned long tv_freq; unsigned int tvnorm; int hue, contrast, bright, saturation; struct v4l2_framebuffer fbuf; @@ -442,6 +442,7 @@ struct bttv { int has_radio; int radio_user; int radio_uses_msp_demodulator; + unsigned long radio_freq; /* miro/pinnacle + Aimslab VHX philips matchbox (tea5757 radio tuner) support */ |