media: rc: make scancodes 64 bit
authorSean Young <sean@mess.org>
Fri, 17 Jan 2020 16:46:36 +0000 (17:46 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 08:20:46 +0000 (09:20 +0100)
commite6c6d7d4a15d499821c41b7e43d92b29c98293ad
tree4f93df5e5aa01446cc71848e64d797112b4e36d2
parent00c43088aa680989407b6afbda295f67b3f123f1
media: rc: make scancodes 64 bit

There are many protocols that encode more than 32 bit. We want 64 bit
support so that BPF IR decoders can decode more than 32 bit. None of
the existing kernel IR decoders/encoders support 64 bit, for now.

The MSC_SCAN event can only contain 32 bit scancodes, so we only generate
MSC_SCAN events if the scancode fits into 32 bits. The full 64 bit
scancode can be read from the lirc chardev.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/bpf-lirc.c
drivers/media/rc/lirc_dev.c
drivers/media/rc/rc-main.c
include/media/rc-core.h
include/media/rc-map.h