From c00d9912bf6afef52f9eef0fb106b1b22a3276e9 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Sun, 7 Sep 2003 15:40:35 +0000 Subject: - apply Avermedia DVB-T related patches contributed by Mark Edwards - add a workaround for the bogus no-ack returvalue of the kernel-i2c bitbanging driver - add sp887x.o to the Makefile --- linux/drivers/media/dvb/frontends/sp887x.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/frontends/sp887x.c') diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c index 337c61ea3..664600b53 100644 --- a/linux/drivers/media/dvb/frontends/sp887x.c +++ b/linux/drivers/media/dvb/frontends/sp887x.c @@ -75,7 +75,9 @@ int sp887x_writereg (struct dvb_frontend *fe, u16 reg, u16 data) /** * in case of soft reset we ignore ACK errors... */ - if (!(reg == 0xf1a && data == 0x000 && ret == -EREMOTEIO)) { + if (!(reg == 0xf1a && data == 0x000 && + (ret == -EREMOTEIO || ret == -EFAULT))) + { printk("%s: writereg error " "(reg %03x, data %03x, ret == %i)\n", __FUNCTION__, reg & 0xffff, data & 0xffff, ret); -- cgit v1.2.3