diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/tuner-xc2028.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c index 2a17d750a..8105d1975 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -781,8 +781,11 @@ static int generic_set_tv_freq(struct dvb_frontend *fe, u32 freq /* in Hz */ , if (check_firmware(fe, new_mode, std, bandwidth) < 0) goto ret; - if (new_mode == T_DIGITAL_TV) + if (new_mode == T_DIGITAL_TV) { offset = 2750000; + if (priv->bandwidth == BANDWIDTH_7_MHZ) + offset -= 500000; + } div = (freq - offset + DIV / 2) / DIV; |