linux-stable/drivers/media
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 media: cec: correctly pass on reply results 2022-04-24 07:39:43 +01:00
common drm for 5.18-rc1 2022-03-24 16:19:43 -07:00
dvb-core media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
dvb-frontends media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
firewire media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00
i2c media: m5mols/m5mols.h: document new reset field 2022-03-18 07:27:56 +01:00
mc media: media-entity: Simplify media_pipeline_start() 2022-03-04 00:27:06 +02:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
platform media: platform: imx-mipi-csis: Add dependency on VIDEO_DEV 2022-04-06 01:57:35 +02:00
radio media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
rc media: meson-ir-tx: remove superfluous dev_err() 2022-04-24 07:30:34 +01:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers media: vidtv: use vfree() for memory allocated with vzalloc() 2022-03-18 07:28:17 +01:00
tuners media: si2157: unknown chip version Si2147-A30 ROM 0x50 2022-04-09 17:45:49 +02:00
usb media: dvb-usb: dib0700_devices: use an enum for the device number 2022-04-18 07:36:44 +02:00
v4l2-core media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00