OSDN Git Service

[media] 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)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Dec 2016 09:00:46 +0000 (07:00 -0200)
commita24f56d47930492c94ef6875bf45adf7607ca1a4
treea5b663f5a57a1a69d7355e19a811ba7b23c35aa9
parent120476123646ba3619c90db7bcbc6f8eea53c990
[media] cec: CEC_MSG_GIVE_FEATURES should abort for CEC version < 2

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