Re: [PATCHv2] rtl28xxu: increase failed I2C msg repeat count to 3

2016-06-07 Thread Benjamin Larsson

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 


ACK

MvH
Benjamin Larsson

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCHv2] rtl28xxu: increase failed I2C msg repeat count to 3

2016-06-07 Thread Antti Palosaari
1 and 2 wasn't enough for mn88472 chip on Astrometa device,
so increase it to 3.

Signed-off-by: Antti Palosaari 
---
 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/

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html