linux-stable/drivers/media/cec
Nini Song 49054b3ed2 media: cec: core: remove length check of Timer Status
commit ce5d241c3a upstream.

The valid_la is used to check the length requirements,
including special cases of Timer Status. If the length is
shorter than 5, that means no Duration Available is returned,
the message will be forced to be invalid.

However, the description of Duration Available in the spec
is that this parameter may be returned when these cases, or
that it can be optionally return when these cases. The key
words in the spec description are flexible choices.

Remove the special length check of Timer Status to fit the
spec which is not compulsory about that.

Signed-off-by: Nini Song <nini.song@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-17 11:18:23 +02:00
..
core media: cec: core: remove length check of Timer Status 2024-04-17 11:18:23 +02:00
i2c media: cec: i2c: ch7322: also select REGMAP 2023-07-19 16:22:00 +02:00
platform media: cec: meson: always include meson sub-directory in Makefile 2023-11-20 11:52:15 +01:00
usb media: pulse8-cec: handle possible ping error 2023-09-13 09:42:20 +02:00
Kconfig
Makefile