]> git.baikalelectronics.ru Git - kernel.git/commit
media: cec: copy sequence field for the reply
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 2 Nov 2021 12:24:26 +0000 (12:24 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 10 Nov 2021 11:39:08 +0000 (11:39 +0000)
commit0d2b2abc490e98b50752e61f4a326aece61ff706
tree870815f8ad7482a572a366de7318ed2e7460c795
parenta607e61f92606c0614972e5ba17d3044e0522d80
media: cec: copy sequence field for the reply

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: 8e0ea1d94555 ([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>
drivers/media/cec/core/cec-adap.c