diff options
author | Gerd Knorr <devnull@localhost> | 2004-04-01 11:51:45 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-04-01 11:51:45 +0000 |
commit | 15b1e074f44b3811d39ec1caf15df0ae4c15a3c3 (patch) | |
tree | c9aab087093e025a120a191356856279a182b4df /linux/drivers/media/video/saa7134/saa7134-tvaudio.c | |
parent | ef718af6bad86a546e1670c7dbbf09b550a03e8b (diff) | |
download | mediapointer-dvb-s2-15b1e074f44b3811d39ec1caf15df0ae4c15a3c3.tar.gz mediapointer-dvb-s2-15b1e074f44b3811d39ec1caf15df0ae4c15a3c3.tar.bz2 |
- fix tuner for saa7133 asus board.
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-tvaudio.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-tvaudio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-tvaudio.c b/linux/drivers/media/video/saa7134/saa7134-tvaudio.c index a6caeae21..8ec5ed0c4 100644 --- a/linux/drivers/media/video/saa7134/saa7134-tvaudio.c +++ b/linux/drivers/media/video/saa7134/saa7134-tvaudio.c @@ -60,8 +60,9 @@ MODULE_PARM_DESC(audio_clock_tweak, "Audio clock tick fine tuning for cards with #define print_regb(reg) printk("%s: reg 0x%03x [%-16s]: 0x%02x\n", \ dev->name,(SAA7134_##reg),(#reg),saa_readb((SAA7134_##reg))) -#define SCAN_INITIAL_DELAY (HZ) -#define SCAN_SAMPLE_DELAY (HZ/5) +#define SCAN_INITIAL_DELAY (HZ) +#define SCAN_SAMPLE_DELAY (HZ/5) +#define SCAN_SUBCARRIER_DELAY (HZ*2) /* ------------------------------------------------------------------ */ /* saa7134 code */ @@ -565,7 +566,7 @@ static int tvaudio_thread(void *data) if (UNSET == audio) audio = i; tvaudio_setmode(dev,&tvaudio[i],"trying"); - if (tvaudio_sleep(dev,HZ*2)) + if (tvaudio_sleep(dev,SCAN_SUBCARRIER_DELAY)) goto restart; if (-1 != tvaudio_getstereo(dev,&tvaudio[i])) { audio = i; |