[media] 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)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Mar 2017 10:06:58 +0000 (07:06 -0300)
commit413808685dd7c9b54bbc5af79da2eaddd0fc3cb2
tree4a800a337305f672984ead0b274e74c6f94bc644
parentc1305a40722f3e02f3d971acc22f5991aff239a6
[media] rc: raw decoder for keymap protocol is not loaded on register

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>
Cc: <stable@vger.kernel.org> # v4.5+
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/rc-main.c