]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc-core: improve the lirc protocol reporting
authorDavid Härdeman <david@hardeman.nu>
Wed, 22 Jul 2015 20:55:24 +0000 (17:55 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 16:18:13 +0000 (13:18 -0300)
commitd9f67a8b5e33bd53ed3493c4660acf95e7402bc4
tree0eee9c4578cfc8ea629e6e500f093b8d9f1e6211
parent5ab75461277c83c7e5c3327feb935cb9036d5bd8
[media] rc-core: improve the lirc protocol reporting

Commit 816b6a3bb3320eccb62139d7946cea5cb5d7ed4b removed the lirc
"protocol" but kept backwards compatibility by always listing
the protocol as present and enabled. This patch further improves
the logic by only listing the protocol if the lirc module is loaded
(or if lirc is builtin).

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/rc-main.c