mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 06:46:43 +07:00
a08c7c68f7
For some cards, ir_dev->props and ir_dev->raw are both NULL. These cards are using built-in IR decoding instead of raw, and can't easily be made to switch protocols. So upon reading /sys/class/rc/rc?/protocols on such a card, return 'builtin' as the supported and enabled protocol. Return -EINVAL on any attempts to change the protocol. And most important of all, don't crash. Signed-off-by: Brian Rogers <brian@xyzw.org> Acked-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
keymaps | ||
ene_ir.c | ||
ene_ir.h | ||
imon.c | ||
ir-core-priv.h | ||
ir-functions.c | ||
ir-jvc-decoder.c | ||
ir-keytable.c | ||
ir-lirc-codec.c | ||
ir-nec-decoder.c | ||
ir-raw-event.c | ||
ir-rc5-decoder.c | ||
ir-rc6-decoder.c | ||
ir-sony-decoder.c | ||
ir-sysfs.c | ||
Kconfig | ||
lirc_dev.c | ||
Makefile | ||
mceusb.c | ||
rc-map.c | ||
streamzap.c |