]> 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)
commit555e1e89233fa25a1ce70e3f163483912375783b
tree0eee9c4578cfc8ea629e6e500f093b8d9f1e6211
parent8209931b3bdb9ec4b77e97011fd219f271d79e18
[media] rc-core: improve the lirc protocol reporting

Commit 095dbe318ebb32d7be52cdf25317f8ddf2ce1991 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