diff options
author | Andrew de Quincy <devnull@localhost> | 2004-02-24 13:51:36 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-02-24 13:51:36 +0000 |
commit | 0fec5d499ce11ec9203d98671bd2995deee0988d (patch) | |
tree | 0883fdf4d1978ae951d19aae070d752e17e58010 /linux/drivers/media/dvb/frontends/stv0299.c | |
parent | 76507a7a6fad206917d49ac59e0cfc9b1f1dc7c5 (diff) | |
download | mediapointer-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.c | 4 |
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); |