linux-stable/drivers/media
Hans Verkuil 4a6f918a92 media: cec: copy sequence field for the reply
commit 13cbaa4c2b upstream.

When the reply for a non-blocking transmit arrives, the sequence
field for that reply was never filled in, so userspace would have no
way of associating the reply to the original transmit.

Copy the sequence field to ensure that this is now possible.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 0dbacebede ([media] cec: move the CEC framework out of staging and to media)
Cc: <stable@vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-01 09:23:28 +01:00
..
cec media: cec: copy sequence field for the reply 2021-12-01 09:23:28 +01:00
common media: videobuf2-core: dequeue if start_streaming fails 2021-08-12 13:20:56 +02:00
dvb-core media: dvb_net: avoid speculation from net slot 2021-07-14 16:53:13 +02:00
dvb-frontends media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable() 2021-11-17 09:48:36 +01:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-11-06 13:59:45 +01:00
i2c media: TDA1997x: handle short reads of hdmi info frame. 2021-11-17 09:48:35 +01:00
mc media: Fix Media Controller API config checks 2021-07-14 16:53:15 +02:00
mmc
pci media: cx23885: Fix snd_card_free call on null card pointer 2021-11-17 09:48:35 +01:00
platform media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()' 2021-11-17 09:48:35 +01:00
radio media: si470x: Avoid card name truncation 2021-11-17 09:48:35 +01:00
rc media: mceusb: return without resubmitting URB in case of -EPROTO error. 2021-11-17 09:48:29 +01:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-11-17 09:48:35 +01:00
tuners media: m88rs6000t: avoid potential out-of-bounds reads on arrays 2021-05-14 09:44:23 +02:00
usb media: em28xx: Don't use ops->suspend if it is NULL 2021-11-17 09:48:36 +01:00
v4l2-core media: v4l2-ioctl: Fix check_ext_ctrls 2021-11-17 09:48:18 +01:00
Kconfig media: Clarify how menus are hidden by SUBDRV_AUTOSELECT 2019-08-19 12:00:29 -03:00
Makefile