[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 77dcfdf547ac8f62e4cc2ea5a8fa086478e545b5..ea75b3a89a85aba5b4f4abf7a63acb546552c34a 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;
 }