]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
media: cec-adap: fix regression in ping sanity check
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 29 May 2019 08:22:15 +0000 (04:22 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 29 May 2019 14:38:11 +0000 (10:38 -0400)
commit64b42d8eee9b57d1329eeb338c3c30171a14cdbd
tree5bd2dfad6acf32e55fbe05dadb9222ad88937100
parent50710eeefbc1ed25375942aad0c4d1eb4af0f330
media: cec-adap: fix regression in ping sanity check

Commit b6c96e156825 inadvertently also dropped the 'msg->len > 1' test
from the preceding sanity check. This caused compliance test failures.

Fixes: b6c96e156825 ("media: cec: allow any initiator for Ping and Image/Text View On")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/cec/cec-adap.c