media: cec: core: allow raw msg transmit while configuring
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 17 Feb 2025 14:53:38 +0000 (15:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 5 Mar 2025 09:43:23 +0000 (10:43 +0100)
commitfff538822c228623cc32228418fcb0d0dd0430a6
tree52a1bcc9e21c2eb8d5da0e595427f3d29555de0d
parent7a419b3bb84d9646dc0a6cb6b086de7fd16f8f68
media: cec: core: allow raw msg transmit while configuring

While the CEC adapter is configuring, it is not possible to transmit a
CEC message with the CEC_MSG_FL_RAW flag set as this is blocked at the
ioctl level. Check if this flag is set, and if so, allow the message to
be transmitted. This is useful for debugging if the display has no
physical address (typically because the HPD is pulled low while in
Standby).

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/cec/core/cec-api.c