diff options
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-core.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c index 5edc9e9c2..d9458efdb 100644 --- a/linux/drivers/media/video/cx88/cx88-core.c +++ b/linux/drivers/media/video/cx88/cx88-core.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-core.c,v 1.10 2004/09/16 07:05:48 kraxel Exp $ + * $Id: cx88-core.c,v 1.11 2004/09/22 11:47:11 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * driver core @@ -832,7 +832,7 @@ static int set_pll(struct cx88_core *core, int prescale, u32 ofreq) dprintk(1,"set_pll: MO_PLL_REG 0x%08x [old=0x%08x,freq=%d]\n", reg, cx_read(MO_PLL_REG), ofreq); cx_write(MO_PLL_REG, reg); - for (i = 0; i < 10; i++) { + for (i = 0; i < 100; i++) { reg = cx_read(MO_DEVICE_STATUS); if (reg & (1<<2)) { dprintk(1,"pll locked [pre=%d,ofreq=%d]\n", @@ -840,7 +840,7 @@ static int set_pll(struct cx88_core *core, int prescale, u32 ofreq) return 0; } dprintk(1,"pll not locked yet, waiting ...\n"); - msleep(100); + msleep(10); } dprintk(1,"pll NOT locked [pre=%d,ofreq=%d]\n",prescale,ofreq); return -1; |