]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb0848bfd2cd2c7e14b4f79fd15b234cab9471e3b
treea5b663f5a57a1a69d7355e19a811ba7b23c35aa9
parent4d4f9cb0e4191bbd1fedf2af070c74f4c3154b90
[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