OSDN Git Service

[media] rtl28xxu: lower the rc poll time to mitigate i2c transfer errors
authorBenjamin Larsson <benjamin@southpole.se>
Sun, 15 Mar 2015 22:57:48 +0000 (19:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:51:37 +0000 (21:51 -0300)
The Astrometa device has issues with i2c transfers. Lowering the
poll time somehow makes these errors disappear.

Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb-v2/rtl28xxu.c

index 77dcfdf..ea75b3a 100644 (file)
@@ -1611,7 +1611,7 @@ static int rtl2832u_get_rc_config(struct dvb_usb_device *d,
        rc->allowed_protos = RC_BIT_ALL;
        rc->driver_type = RC_DRIVER_IR_RAW;
        rc->query = rtl2832u_rc_query;
-       rc->interval = 400;
+       rc->interval = 200;
 
        return 0;
 }