OSDN Git Service

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)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 13 Dec 2019 08:02:07 +0000 (09:02 +0100)
commit01d4fb115470e9f88a58975fe157a9e8b214dfe5
treefc6f89439b04980879ac021081bee86066055b7d
parent2099ef02c6c024751e4d16ace67dd6b910c875e4
media: cec: CEC 2.0-only bcast messages were ignored

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>
drivers/media/cec/cec-adap.c