summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pulse8-cec
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2018-11-14 11:37:53 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-11-23 13:48:44 +0300
commitac791f19a273a7fe254a7596f193af6534582a9f (patch)
tree5d363ef009753afb127129cb5a74db5c6de3470a /drivers/media/usb/pulse8-cec
parent02e6d2eaa9c3f7dc04d67b5a37e17716fa019033 (diff)
downloadlinux-ac791f19a273a7fe254a7596f193af6534582a9f.tar.xz
media: cec-pin: fix broken tx_ignore_nack_until_eom error injection
If the tx_ignore_nack_until_eom error injection was activated, then tx_nacked was never set instead of setting it when the last byte of the message was transmitted. As a result the transmit was marked as OK, when it should have been NACKed. Modify the condition so that it always sets tx_nacked when the last byte of the message was transmitted. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: <stable@vger.kernel.org> # for v4.17 and up Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/pulse8-cec')
0 files changed, 0 insertions, 0 deletions