mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +00:00
V4L/DVB: tm6000: add tuner parameter for DVB devices
Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
e78c8f22b5
commit
58b2f4bd5f
@ -308,7 +308,7 @@ static void tm6000_config_tuner (struct tm6000_core *dev)
|
||||
memset(&tun_setup, 0, sizeof(tun_setup));
|
||||
tun_setup.type = dev->tuner_type;
|
||||
tun_setup.addr = dev->tuner_addr;
|
||||
tun_setup.mode_mask = T_ANALOG_TV | T_RADIO;
|
||||
tun_setup.mode_mask = T_ANALOG_TV | T_RADIO | T_DIGITAL_TV;
|
||||
tun_setup.tuner_callback = tm6000_tuner_callback;
|
||||
|
||||
v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr, &tun_setup);
|
||||
@ -320,10 +320,12 @@ static void tm6000_config_tuner (struct tm6000_core *dev)
|
||||
memset(&xc2028_cfg, 0, sizeof(xc2028_cfg));
|
||||
memset (&ctl,0,sizeof(ctl));
|
||||
|
||||
ctl.mts = 1;
|
||||
ctl.read_not_reliable = 1;
|
||||
ctl.input1 = 1;
|
||||
ctl.read_not_reliable = 0;
|
||||
ctl.msleep = 10;
|
||||
|
||||
ctl.demod = XC3028_FE_ZARLINK456;
|
||||
ctl.vhfbw7 = 1;
|
||||
ctl.uhfbw8 = 1;
|
||||
xc2028_cfg.tuner = TUNER_XC2028;
|
||||
xc2028_cfg.priv = &ctl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user