]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:18:44 +0000 (19:18 +0800)
commit1cda29082a3012a09020c77db2d56b7b25dbc18e
treea105545fe7e789ca2bdabf4adf5a9624213efc41
parent22fc2f9efa27f5b70cc2d40036adda681ce645b5
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