]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: rc: lirc does not use LIRC_CAN_SEND_SCANCODE feature
authorSean Young <sean@mess.org>
Tue, 27 Feb 2018 13:03:56 +0000 (08:03 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 5 Mar 2018 12:45:10 +0000 (07:45 -0500)
commit2fe4c22c53fc2e3f35be2cd0033cb3d15ebd41b1
tree34be8a3551375ad597ce49e0865f1a298cd9eca1
parent7dbdd16a79a9d27d7dca0a49029fc8966dcfecc5
media: rc: lirc does not use LIRC_CAN_SEND_SCANCODE feature

Since commit 02d742f4b209 ("media: lirc: lirc daemon fails to detect raw
IR device"), the feature LIRC_CAN_SEND_SCANCODE is no longer used as it
tripped up lircd. The ability to send scancodes for IR Tx is implied by
LIRC_CAN_SEND_PULSE (i.e. any device that can send can use IR Tx encoders).

So, remove LIRC_CAN_SEND_SCANCODE since it never used. This fixes:

Documentation/output/lirc.h.rst:6: WARNING: undefined label:
lirc-can-send-scancode (if the link has no caption the label must precede
a section header

As this flag was added for kernel 4.16, let's remove it, while not too
late.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
include/uapi/linux/lirc.h