cec: CEC_MSG_GIVE_FEATURES should abort for CEC version < 2
authorHans Verkuil <hansverk@cisco.com>
Fri, 9 Dec 2016 13:28:19 +0000 (11:28 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Nov 2017 08:39:14 +0000 (08:39 +0000)
commitf635fd7de9a5bbf9aaafdb8002e7a0f32cfca587
tree9b053602d22d9e11c1ae5572044d8cf73dca1678
parent9ade62c27d3d9ac38b2dc1e496db377fd8298d92
cec: CEC_MSG_GIVE_FEATURES should abort for CEC version < 2

[ Upstream commit a24f56d47930492c94ef6875bf45adf7607ca1a4 ]

This is a 2.0 only message, so it should return Feature Abort if the
adapter is configured for CEC version 1.4.

Right now it does nothing, which means that the sender will time out.

Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/cec/cec-adap.c