linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2] rtl28xxu: increase failed I2C msg repeat count to 3
@ 2016-06-07  7:52 Antti Palosaari
  2016-06-07 12:20 ` Benjamin Larsson
  0 siblings, 1 reply; 2+ messages in thread
From: Antti Palosaari @ 2016-06-07  7:52 UTC (permalink / raw)
  To: linux-media; +Cc: Antti Palosaari

1 and 2 wasn't enough for mn88472 chip on Astrometa device,
so increase it to 3.

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 eb7af8c..6643762 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 = 3;
 	d->i2c_adap.timeout = msecs_to_jiffies(10);
 
 	return WARM;
-- 
http://palosaari.fi/


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

* Re: [PATCHv2] rtl28xxu: increase failed I2C msg repeat count to 3
  2016-06-07  7:52 [PATCHv2] rtl28xxu: increase failed I2C msg repeat count to 3 Antti Palosaari
@ 2016-06-07 12:20 ` Benjamin Larsson
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Larsson @ 2016-06-07 12:20 UTC (permalink / raw)
  To: Antti Palosaari, linux-media

On 2016-06-07 09:52, Antti Palosaari wrote:
> 1 and 2 wasn't enough for mn88472 chip on Astrometa device,
> so increase it to 3.
>
> Signed-off-by: Antti Palosaari <crope@iki.fi>

ACK

MvH
Benjamin Larsson


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

end of thread, other threads:[~2016-06-07 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07  7:52 [PATCHv2] rtl28xxu: increase failed I2C msg repeat count to 3 Antti Palosaari
2016-06-07 12:20 ` Benjamin Larsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).