rc: raw decoder for keymap protocol is not loaded on register
authorSean Young <sean@mess.org>
Wed, 22 Feb 2017 21:48:01 +0000 (18:48 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Mar 2017 11:14:34 +0000 (19:14 +0800)
commit39df5977fd410a8ebd7f736455531440327e9ff0
treec6344ff10a38fe16c36fdb6170a968afcae22c3e
parent21582cd0b64ca464084cb872b3d348065b0b54af
rc: raw decoder for keymap protocol is not loaded on register

commit 413808685dd7c9b54bbc5af79da2eaddd0fc3cb2 upstream.

When the protocol is set via the sysfs protocols attribute, the
decoder is loaded. However, when it is not when a device is first
plugged in or registered.

Fixes: acc1c3c ("[media] media: rc: load decoder modules on-demand")

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/rc/rc-main.c