[media] rc-core: fix input repeat handling
authorDavid Härdeman <david@hardeman.nu>
Thu, 27 Apr 2017 20:33:58 +0000 (17:33 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 18 May 2017 09:18:21 +0000 (06:18 -0300)
commitb2aceb739b5af6a8abc5ea6ab9e6a0409a3b5b1d
tree5ec4fa74297626a02a1fba76de19de4fd0a33de6
parent592ddc9f7db36c778d3bf9ffdfd93d8d5d548e48
[media] rc-core: fix input repeat handling

The call to input_register_device() needs to take place
before the repeat parameters are set or the input subsystem
repeat handling will be disabled (as was already noted in
the comments in that function).

Cc: stable <stable@vger.kernel.org> # v4.11
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/rc-main.c