summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv0299.c
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-02-24 13:51:36 +0000
committerAndrew de Quincy <devnull@localhost>2004-02-24 13:51:36 +0000
commit0fec5d499ce11ec9203d98671bd2995deee0988d (patch)
tree0883fdf4d1978ae951d19aae070d752e17e58010 /linux/drivers/media/dvb/frontends/stv0299.c
parent76507a7a6fad206917d49ac59e0cfc9b1f1dc7c5 (diff)
downloadmediapointer-dvb-s2-0fec5d499ce11ec9203d98671bd2995deee0988d.tar.gz
mediapointer-dvb-s2-0fec5d499ce11ec9203d98671bd2995deee0988d.tar.bz2
Added a temporary hack to fix buggy user-side software which supplies
INVERSION_AUTO to frontends which specifically say they do not support it
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0299.c')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c4
1 files changed, 2 insertions, 2 deletions
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);