]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: cec: CEC 2.0-only bcast messages were ignored
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 4 Dec 2019 07:52:08 +0000 (08:52 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 29 Jan 2020 04:47:27 +0000 (23:47 -0500)
commit8a95de8b40656e91395b5d7a77e9214570bc7dbe
tree92892fc50480920dbb72bbfda87b49387a5f756c
parentf58e70a567907dbb8ed954d4fd47cf24f77dc8b1
media: cec: CEC 2.0-only bcast messages were ignored

BugLink: https://bugs.launchpad.net/bugs/1860602
commit cec935ce69fc386f13959578deb40963ebbb85c3 upstream.

Some messages are allowed to be a broadcast message in CEC 2.0
only, and should be ignored by CEC 1.4 devices.

Unfortunately, the check was wrong, causing such messages to be
marked as invalid under CEC 2.0.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: <stable@vger.kernel.org> # for v4.10 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/media/cec/cec-adap.c