diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-06 08:15:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-06 08:15:08 -0300 |
commit | d336dddd42e43b5465cd58b5a4812011805905df (patch) | |
tree | 01d414e9f968947eaeb2f00bbd35149217787663 /linux/drivers | |
parent | 2e4dae3dad6d21fbd5ce4b97f4724ab1a830af8c (diff) | |
download | mediapointer-dvb-s2-d336dddd42e43b5465cd58b5a4812011805905df.tar.gz mediapointer-dvb-s2-d336dddd42e43b5465cd58b5a4812011805905df.tar.bz2 |
tuner-xc2028: cleanup: better use tuner typpe defines
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/common/tuners/tuner-xc2028.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/common/tuners/tuner-xc2028.c b/linux/drivers/media/common/tuners/tuner-xc2028.c index 083e62723..a7466867c 100644 --- a/linux/drivers/media/common/tuners/tuner-xc2028.c +++ b/linux/drivers/media/common/tuners/tuner-xc2028.c @@ -929,7 +929,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */, * proper frequency. * Analog modes require offset = 0 */ - if (new_mode != T_ANALOG_TV) { + if (new_mode == T_DIGITAL_TV) { /* Sets the offset according with firmware */ if (priv->cur_fw.type & DTV6) offset = 1750000; @@ -1002,7 +1002,7 @@ static int xc2028_set_analog_freq(struct dvb_frontend *fe, if (priv->ctrl.input1) type |= INPUT1; return generic_set_freq(fe, (625l * p->frequency) / 10, - T_ANALOG_TV, type, 0, 0); + T_RADIO, type, 0, 0); } /* if std is not defined, choose one */ |