From: Benjamin Larsson Date: Sun, 15 Mar 2015 22:57:48 +0000 (-0300) Subject: [media] rtl28xxu: lower the rc poll time to mitigate i2c transfer errors X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=46cf7074828e148bdc9112d0f81bab2dfcbefe62;p=linux-beck.git [media] rtl28xxu: lower the rc poll time to mitigate i2c transfer errors The Astrometa device has issues with i2c transfers. Lowering the poll time somehow makes these errors disappear. Signed-off-by: Benjamin Larsson Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c index 77dcfdf547ac..ea75b3a89a85 100644 --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c @@ -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; }