From: David Härdeman Date: Mon, 1 May 2017 16:09:56 +0000 (-0300) Subject: [media] rc-core: ati_remote - leave the internals of rc_dev alone X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a387ffc8043b8b894cdc9d3f134b52d9c492ac26;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] rc-core: ati_remote - leave the internals of rc_dev alone The REP_DELAY setting on the input device is independent of hardware. This change should not change how to driver works (as it does a keydown/keyup and has no real repeat handling). Signed-off-by: David Härdeman Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/ati_remote.c b/drivers/media/rc/ati_remote.c index 9cf3e69de16a..a4c6ad4f67c1 100644 --- a/drivers/media/rc/ati_remote.c +++ b/drivers/media/rc/ati_remote.c @@ -904,9 +904,6 @@ static int ati_remote_probe(struct usb_interface *interface, if (err) goto exit_kill_urbs; - /* use our delay for rc_dev */ - ati_remote->rdev->input_dev->rep[REP_DELAY] = repeat_delay; - /* Set up and register mouse input device */ if (mouse) { input_dev = input_allocate_device();