linux-stable/drivers/media/cec/core
Hans Verkuil f9d0ecbf56 media: cec: correctly pass on reply results
The results of non-blocking transmits were not correctly communicated
to userspace.

Specifically:

1) if a non-blocking transmit was canceled, then rx_status wasn't set to 0
   as it should.
2) if the non-blocking transmit succeeded, but the corresponding reply
   never arrived (aborted or timed out), then tx_status wasn't set to 0
   as it should, and rx_status was hardcoded to ABORTED instead of the
   actual reason, such as TIMEOUT. In addition, adap->ops->received() was
   never called, so drivers that want to do message processing themselves
   would not be informed of the failed reply.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-04-24 07:39:43 +01:00
..
cec-adap.c media: cec: correctly pass on reply results 2022-04-24 07:39:43 +01:00
cec-api.c media: cec: call enable_adap on s_log_addrs 2022-04-24 07:37:58 +01:00
cec-core.c bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
cec-notifier.c media: cec/core/cec-notifier: use IS_REACHABLE(CONFIG_I2C) 2021-03-22 10:24:44 +01:00
cec-pin-error-inj.c media: cec/core: clarify rx-arb-lost usage message 2021-04-06 16:08:38 +02:00
cec-pin-priv.h media: cec-pin: drop unused 'enabled' field from struct cec_pin 2021-12-07 11:29:56 +01:00
cec-pin.c media: cec-pin: fix interrupt en/disable handling 2021-12-07 11:29:56 +01:00
cec-priv.h
Makefile