From 15b1e074f44b3811d39ec1caf15df0ae4c15a3c3 Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Thu, 1 Apr 2004 11:51:45 +0000 Subject: - fix tuner for saa7133 asus board. --- linux/drivers/media/video/saa7134/saa7134-tvaudio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'linux/drivers/media/video/saa7134/saa7134-tvaudio.c') 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; -- cgit v1.2.3