summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2003-06-19 09:18:02 +0000
committerAndrew de Quincy <devnull@localhost>2003-06-19 09:18:02 +0000
commit52d1870a61124ba4149ed393ed233cba1e734a15 (patch)
tree8871a01b4387b041f973097bc1049a9b89ba6abe /linux/drivers/media
parent7c78e4e49ef33a2736741405a2bf11b8c52d44f3 (diff)
downloadmediapointer-dvb-s2-52d1870a61124ba4149ed393ed233cba1e734a15.tar.gz
mediapointer-dvb-s2-52d1870a61124ba4149ed393ed233cba1e734a15.tar.bz2
No longer dies if disabling mc44 chip fails
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/frontends/tda10045h.c6
1 files changed, 1 insertions, 5 deletions
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);