]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Dec 2020 09:58:34 +0000 (10:58 +0100)
commitdd85f53cf0e0737e5cd9c970676c00b17db2fbee
tree2b405280926489480d096e421ce7caded1fc85a2
parent985a670004bead2eb982cf196d9f55003adb5a52
media: pulse8-cec: add support for FW v10 and up

commit 45ba1c0ba3e589ad3ef0d0603c822eb27ea16563 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/cec/usb/pulse8/pulse8-cec.c