All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] rtl28xxu: increase failed I2C msg repeat count to 2
@ 2016-05-14  5:14 Antti Palosaari
  2016-05-14  5:14 ` [PATCH 2/3] mn88472: finalize driver Antti Palosaari
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Antti Palosaari @ 2016-05-14  5:14 UTC (permalink / raw)
  To: linux-media; +Cc: Antti Palosaari

1 wasn't enough for mn88472 chip on Astrometa device, so increase
it by one.

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

diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index fa72642..6965d8e 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -624,7 +624,7 @@ static int rtl28xxu_identify_state(struct dvb_usb_device *d, const char **name)
 	dev_dbg(&d->intf->dev, "chip_id=%u\n", dev->chip_id);
 
 	/* Retry failed I2C messages */
-	d->i2c_adap.retries = 1;
+	d->i2c_adap.retries = 2;
 	d->i2c_adap.timeout = msecs_to_jiffies(10);
 
 	return WARM;
-- 
http://palosaari.fi/


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

end of thread, other threads:[~2016-05-14 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-14  5:14 [PATCH 1/3] rtl28xxu: increase failed I2C msg repeat count to 2 Antti Palosaari
2016-05-14  5:14 ` [PATCH 2/3] mn88472: finalize driver Antti Palosaari
2016-05-14  5:14 ` [PATCH 3/3] mn88472: move out of staging to media Antti Palosaari
2016-05-14 19:04 ` [PATCH 1/3] rtl28xxu: increase failed I2C msg repeat count to 2 Benjamin Larsson

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.