From 0fec5d499ce11ec9203d98671bd2995deee0988d Mon Sep 17 00:00:00 2001 From: Andrew de Quincy Date: Tue, 24 Feb 2004 13:51:36 +0000 Subject: Added a temporary hack to fix buggy user-side software which supplies INVERSION_AUTO to frontends which specifically say they do not support it --- linux/drivers/media/dvb/frontends/stv0299.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/dvb/frontends/stv0299.c') diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 85bfe083d..3c9cb3a9b 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -1089,8 +1089,8 @@ static int uni0299_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) } else if (p->inversion == INVERSION_ON) { stv0299_writereg(i2c, 0x0c, stv0299_readreg(i2c, 0x0c) | 1); } else { - printk("stv0299 does not support auto-inversion\n"); - return -EINVAL; + // temporary hack to get round buggy user-side software + stv0299_check_inversion(i2c); } stv0299_set_FEC (i2c, p->u.qpsk.fec_inner); -- cgit v1.2.3