diff options
| author | 2023-06-12 15:58:38 +0200 | |
|---|---|---|
| committer | 2023-08-10 07:58:32 +0200 | |
| commit | 948a77aaecf202f722cf2264025f9987e5bd5c26 (patch) | |
| tree | 66f504321215e134c8f75322cbf3a9596ab810cc /scripts/Makefile.thinlto | |
| parent | media: cec: core: add adap_nb_transmit_canceled() callback (diff) | |
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: f1b57164305d ("media: cec: add optional adap_configured callback")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
