From 52d1870a61124ba4149ed393ed233cba1e734a15 Mon Sep 17 00:00:00 2001 From: Andrew de Quincy Date: Thu, 19 Jun 2003 09:18:02 +0000 Subject: No longer dies if disabling mc44 chip fails --- linux/drivers/media/dvb/frontends/tda10045h.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/frontends/tda10045h.c b/linux/drivers/media/dvb/frontends/tda10045h.c index 3439bd4c7..2ae1d0fff 100644 --- a/linux/drivers/media/dvb/frontends/tda10045h.c +++ b/linux/drivers/media/dvb/frontends/tda10045h.c @@ -371,11 +371,7 @@ int tda10045h_init(struct dvb_i2c_bus *i2c) tuner_msg.buf = disable_mc44BC374c; tuner_msg.len = sizeof(disable_mc44BC374c); if (i2c->xfer(i2c, &tuner_msg, 1) != 1) { - if (i2c->xfer(i2c, &tuner_msg, 1) != 1) { - if (firmware) - vfree(firmware); - return -EIO; - } + i2c->xfer(i2c, &tuner_msg, 1); } tda10045h_disable_tuner_i2c(i2c); -- cgit v1.2.3