linux_dsm_epyc7002/drivers/media/rc
Hans Verkuil 83ff4f644d media: rc: compile rc-cec.c into rc-core
commit f09f9f93afad770a04b35235a0aa465fcc8d6e3d upstream.

The rc-cec keymap is unusual in that it can't be built as a module,
instead it is registered directly in rc-main.c if CONFIG_MEDIA_CEC_RC
is set. This is because it can be called from drm_dp_cec_set_edid() via
cec_register_adapter() in an asynchronous context, and it is not
allowed to use request_module() to load rc-cec.ko in that case. Trying to
do so results in a 'WARN_ON_ONCE(wait && current_is_async())'.

Since this keymap is only used if CONFIG_MEDIA_CEC_RC is set, we
just compile this keymap into the rc-core module and never as a
separate module.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 2c6d1fffa1 (drm: add support for DisplayPort CEC-Tunneling-over-AUX)
Reported-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-17 17:06:20 +01:00
..
img-ir media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
keymaps media: rc: compile rc-cec.c into rc-core 2021-03-17 17:06:20 +01:00
ati_remote.c media: ati_remote: sanity check for both endpoints 2020-09-27 11:24:07 +02:00
bpf-lirc.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ene_ir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ene_ir.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
fintek-cir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
fintek-cir.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
gpio-ir-recv.c media: rc: gpio-ir-recv: add QoS support for cpuidle system 2020-09-27 11:27:23 +02:00
gpio-ir-tx.c media: gpio-ir-tx: spinlock is not needed to disable interrupts 2020-08-28 14:06:36 +02:00
igorplugusb.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
iguanair.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
imon_raw.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
imon.c media: imon: Replace http links with https ones 2020-07-19 14:00:32 +02:00
ir_toy.c media: ir_toy: add another IR Droid device 2021-03-04 11:38:34 +01:00
ir-hix5hd2.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-imon-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-jvc-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-mce_kbd-decoder.c media: rc: fix timeout handling after switch to microsecond durations 2021-02-03 23:28:38 +01:00
ir-nec-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-rc5-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-rc6-decoder.c Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
ir-rcmm-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-rx51.c media: ir-rx51: Use 64-bit division macro 2020-04-21 12:57:04 +02:00
ir-sanyo-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-sharp-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ir-sony-decoder.c Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
ir-spi.c media: spi: IR LED: add missing of table registration 2019-05-22 15:27:37 -04:00
ir-xmp-decoder.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ite-cir.c media: rc: ite-cir: fix min_timeout calculation 2021-02-03 23:28:38 +01:00
ite-cir.h media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
Kconfig media: rc: add support for Infrared Toy and IR Droid devices 2020-06-23 15:07:21 +02:00
lirc_dev.c media: rc: rename ir_lirc_* functions to lirc_* 2020-09-03 16:19:27 +02:00
Makefile media: rc: compile rc-cec.c into rc-core 2021-03-17 17:06:20 +01:00
mceusb.c media: mceusb: sanity check for prescaler value 2021-03-07 12:34:04 +01:00
meson-ir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
mtk-cir.c media: mtk-cir: fix calculation of chk period 2020-12-01 16:00:51 +01:00
nuvoton-cir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
nuvoton-cir.h media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
pwm-ir-tx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122 2019-05-24 17:39:03 +02:00
rc-core-priv.h media: rc: rename ir_lirc_* functions to lirc_* 2020-09-03 16:19:27 +02:00
rc-ir-raw.c media: rc: rename ir_lirc_* functions to lirc_* 2020-09-03 16:19:27 +02:00
rc-loopback.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
rc-main.c media: rc: compile rc-cec.c into rc-core 2021-03-17 17:06:20 +01:00
redrat3.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
serial_ir.c media: rc: fix timeout handling after switch to microsecond durations 2021-02-03 23:28:38 +01:00
sir_ir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
st_rc.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
streamzap.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
sunxi-cir.c media: sunxi-cir: ensure IR is handled when it is continuous 2020-12-30 11:54:04 +01:00
tango-ir.c media: rc: Use devm_platform_ioremap_resource() in tango_ir_probe() 2019-10-07 07:44:56 -03:00
ttusbir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
winbond-cir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
xbox_remote.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
zx-irdec.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00