1
0
Fork 0
alistair23-linux/drivers/media/cec/core
Hans Verkuil e91c255733 media: cec-core: first mark device unregistered, then wake up fhs
If a CEC device node is unregistered, then it should be marked as
unregistered before waking up any filehandles that are waiting for
an event.

This ensures that there is no race condition where an application can
call CEC_DQEVENT and have the ioctl return 0 instead of ENODEV.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-16 10:31:09 +01:00
..
Makefile
cec-adap.c Linux 5.9-rc7 2020-10-04 12:19:12 +02:00
cec-api.c cec-api: prevent leaking memory through hole in structure 2020-07-19 07:43:14 +02:00
cec-core.c media: cec-core: first mark device unregistered, then wake up fhs 2020-11-16 10:31:09 +01:00
cec-notifier.c media: cec: add adap_controls_phys_addr option 2020-07-04 12:15:26 +02:00
cec-pin-error-inj.c
cec-pin-priv.h
cec-pin.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
cec-priv.h