diff options
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110_hw.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110_hw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.c b/linux/drivers/media/dvb/ttpci/av7110_hw.c index 9cc974192..c5e74f7b7 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_hw.c +++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c @@ -106,9 +106,9 @@ void av7110_reset_arm(struct av7110 *av7110) saa7146_write(av7110->dev, ISR, (MASK_19 | MASK_03)); //FIXME: are those mdelays really necessary? - mdelay(800); + mdelay(100); saa7146_setgpio(av7110->dev, RESET_LINE, SAA7146_GPIO_OUTHI); - mdelay(800); + mdelay(100); ARM_ResetMailBox(av7110); @@ -126,10 +126,10 @@ static int waitdebi(struct av7110 *av7110, int adr, int state) DEB_EE(("av7110: %p\n", av7110)); - for (k = 0; k < 100; k++) { + for (k = 0; k < 1000; k++) { if (irdebi(av7110, DEBINOSWAP, adr, 0, 2) == state) return 0; - udelay(500); + udelay(50); } return -1; } @@ -276,7 +276,7 @@ int av7110_bootarm(struct av7110 *av7110) } saa7146_setgpio(dev, RESET_LINE, SAA7146_GPIO_OUTHI); //FIXME: necessary? - mdelay(800); + mdelay(100); //ARM_ClearIrq(av7110); ARM_ResetMailBox(av7110); |