linux_dsm_epyc7002/drivers/media
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
..
cec media: cec: add stm32 driver 2021-02-03 23:28:37 +01:00
common media: Revert "media: videobuf2: Fix length check for single plane dmabuf queueing" 2021-01-30 13:55:17 +01:00
dvb-core media fixes for v5.9-rc7 2020-09-24 09:05:04 -07:00
dvb-frontends media: dvb-frontends/drxk_hard.c: fix uninitialized variable warning 2020-10-08 14:15:14 +02:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c: max9286: fix access to unallocated memory 2021-03-04 11:38:33 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: cx23885: add more quirks for reset DMA on some AMD IOMMU 2021-03-11 14:17:24 +01:00
platform media: v4l: vsp1: Fix bru null pointer access 2021-03-17 17:06:20 +01:00
radio Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
rc media: rc: compile rc-cec.c into rc-core 2021-03-17 17:06:20 +01:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vidtv: psi: fix missing crc for PMT 2021-03-04 11:37:43 +01:00
tuners media: qm1d1c0042: fix error return code in qm1d1c0042_init() 2021-03-04 11:37:43 +01:00
usb media: usbtv: Fix deadlock on suspend 2021-03-17 17:06:20 +01:00
v4l2-core media: v4l: ioctl: Fix memory leak in video_usercopy 2021-03-07 12:34:16 +01:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00