diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda1004x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c index bbabb37f2..6a4fde6c7 100644 --- a/linux/drivers/media/dvb/frontends/tda1004x.c +++ b/linux/drivers/media/dvb/frontends/tda1004x.c @@ -45,7 +45,7 @@ #include "dvb_functions.h" #ifndef CONFIG_TDA1004X_MC_LOCATION -#define CONFIG_TDA1004X_MC_LOCATION "/usr/lib/DVB/driver/frontends/tda1004x.mc" +#define CONFIG_TDA1004X_MC_LOCATION "/etc/dvb/tda1004x.mc" #endif static int tda1004x_debug = 0; @@ -528,11 +528,11 @@ static int tda1004x_set_frequency(struct dvb_i2c_bus *i2c, // determine band if (fe_params->frequency < 49000000) { return -EINVAL; - } else if (tuner_frequency < 159000000) { + } else if (fe_params->frequency < 159000000) { band = 1; - } else if (tuner_frequency < 444000000) { + } else if (fe_params->frequency < 444000000) { band = 2; - } else if (tuner_frequency < 861000000) { + } else if (fe_params->frequency < 861000000) { band = 4; } else { return -EINVAL; |