diff options
author | Oliver Endriss <devnull@localhost> | 2006-01-03 03:34:48 +0000 |
---|---|---|
committer | Oliver Endriss <devnull@localhost> | 2006-01-03 03:34:48 +0000 |
commit | f4a5196cdeaf667490056b671b63ff1a8d4403e3 (patch) | |
tree | c0a9e5de28d81e5bc6e1e9bb8a6849425b2f886e /linux/drivers/media/dvb/ttpci/av7110_hw.c | |
parent | deadd5a01c31e740cb20a394d27cddcf2b21c555 (diff) | |
download | mediapointer-dvb-s2-f4a5196cdeaf667490056b671b63ff1a8d4403e3.tar.gz mediapointer-dvb-s2-f4a5196cdeaf667490056b671b63ff1a8d4403e3.tar.bz2 |
av7110 driver: improved recovery from ARM crash and crash detection
Improved recovery from ARM crash and the way a crash is detected.
Minor white space clean-up, debug output fixed.
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110_hw.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110_hw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.c b/linux/drivers/media/dvb/ttpci/av7110_hw.c index 3baf0e8a4..43defae4c 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_hw.c +++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c @@ -230,6 +230,8 @@ int av7110_bootarm(struct av7110 *av7110) dprintk(4, "%p\n", av7110); + av7110->arm_ready = 0; + saa7146_setgpio(dev, RESET_LINE, SAA7146_GPIO_OUTLO); /* Disable DEBI and GPIO irq */ @@ -361,6 +363,7 @@ static int __av7110_send_fw_cmd(struct av7110 *av7110, u16* buf, int length) break; if (err) { printk(KERN_ERR "dvb-ttpci: %s(): timeout waiting for COMMAND idle\n", __FUNCTION__); + av7110->arm_errors++; return -ETIMEDOUT; } msleep(1); |