linux-stable/drivers/media/cec
Hans Verkuil 948a77aaec media: cec: core: add adap_unconfigured() callback
The adap_configured() callback was called with the adap->lock mutex
held if the 'configured' argument was false, and without the adap->lock
mutex held if that argument was true.

That was very confusing, and so split this up in a adap_unconfigured()
callback and a high-level configured() callback.

This also makes it easier to understand when the mutex is held: all
low-level adap_* callbacks are called with the mutex held. All other
callbacks are called without that mutex held.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: f1b5716430 ("media: cec: add optional adap_configured callback")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-08-10 07:58:32 +02:00
..
core media: cec: core: add adap_unconfigured() callback 2023-08-10 07:58:32 +02:00
i2c media: cec: ch7322: drop of_match_ptr for ID table 2023-07-14 12:31:12 +02:00
platform media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
usb media: pulse8-cec: handle possible ping error 2023-07-14 09:14:09 +02:00
Kconfig media: CEC: keep related menu entries together 2021-10-05 09:39:32 +02:00
Makefile media: cec: i2c: ch7322: Add ch7322 CEC controller driver 2020-07-04 12:16:18 +02:00