OSDN Git Service

media: pulse8-cec: add support for FW v10 and up
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 27 Nov 2020 11:52:30 +0000 (12:52 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Dec 2020 15:20:02 +0000 (16:20 +0100)
commit45ba1c0ba3e589ad3ef0d0603c822eb27ea16563
tree67140f2b4902b2c732e45530f08b36cf9f5f961e
parent024e01dead12c2b9fbe31216f2099401ebb78a4a
media: pulse8-cec: add support for FW v10 and up

Starting with firmware version 10 the GET/SET_HDMI_VERSION message
was removed and GET/SET_AUTO_POWER_ON was added.

The removal of GET/SET_HDMI_VERSION caused the probe of the
Pulse-Eight to fail. Add a version check to handle this gracefully.

Also show (but do not set) the Auto Power On value.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Maxime Ripard <mripard@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/cec/usb/pulse8/pulse8-cec.c