[media] rc-core: ati_remote - leave the internals of rc_dev alone
authorDavid Härdeman <david@hardeman.nu>
Mon, 1 May 2017 16:09:56 +0000 (13:09 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:08:10 +0000 (09:08 -0300)
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 <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ati_remote.c

index 9cf3e69..a4c6ad4 100644 (file)
@@ -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();