All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] m88ds3103: do not return error from get_frontend() when not ready
@ 2015-05-18  5:08 Antti Palosaari
  2015-05-18  5:08 ` [PATCH 2/8] m88ds3103: implement DVBv5 CNR statistics Antti Palosaari
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Antti Palosaari @ 2015-05-18  5:08 UTC (permalink / raw)
  To: linux-media; +Cc: Antti Palosaari

Do not return error from get_frontend() when status is queried, but
device is not ready. dvbv5-zap has habit to call that IOCTL before
device is tuned and it also refuses to use DVBv5 statistic after
that...

Signed-off-by: Antti Palosaari <crope@iki.fi>
---
 drivers/media/dvb-frontends/m88ds3103.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c
index d3d928e..03dceb5 100644
--- a/drivers/media/dvb-frontends/m88ds3103.c
+++ b/drivers/media/dvb-frontends/m88ds3103.c
@@ -742,7 +742,7 @@ static int m88ds3103_get_frontend(struct dvb_frontend *fe)
 	dev_dbg(&priv->i2c->dev, "%s:\n", __func__);
 
 	if (!priv->warm || !(priv->fe_status & FE_HAS_LOCK)) {
-		ret = -EAGAIN;
+		ret = 0;
 		goto err;
 	}
 
-- 
http://palosaari.fi/


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-18  8:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18  5:08 [PATCH 1/8] m88ds3103: do not return error from get_frontend() when not ready Antti Palosaari
2015-05-18  5:08 ` [PATCH 2/8] m88ds3103: implement DVBv5 CNR statistics Antti Palosaari
2015-05-18  5:08 ` [PATCH 3/8] m88ds3103: wrap legacy DVBv3 SNR to DVBv5 CNR Antti Palosaari
2015-05-18  5:08 ` [PATCH 4/8] m88ds3103: implement DVBv5 BER Antti Palosaari
2015-05-18  5:08 ` [PATCH 5/8] m88ds3103: wrap legacy DVBv3 BER to " Antti Palosaari
2015-05-18  5:08 ` [PATCH 6/8] m88ds3103: use jiffies when polling DiSEqC TX ready Antti Palosaari
2015-05-18  5:08 ` [PATCH 7/8] m88ds3103: add I2C client binding Antti Palosaari
2015-05-18  5:08 ` [PATCH 8/8] m88ds3103: wrap media attach to driver I2C probe Antti Palosaari
2015-05-18  8:36 ` [PATCH 1/8] m88ds3103: do not return error from get_frontend() when not ready Jemma Denson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.