]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: vivid: add <Vendor Command With ID> support
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 25 Jul 2024 08:06:39 +0000 (10:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 5 Aug 2024 07:39:19 +0000 (09:39 +0200)
commit812765cd69540b1e3ed5f02e25ccb9904f6a82f7
tree026c884a6143f1aeef728882679158867bb1c9e3
parent613f21505b25a4f43f33de00f11afc059bedde2b
media: vivid: add <Vendor Command With ID> support

This makes it possible to test the new CEC_MSG_FL_REPLY_VENDOR_ID flag.

The vivid driver will Feature Abort any messages that do not have
exactly 1 payload byte. It ignores messages where the payload byte is
even, and where it is odd it will reply with the payload byte incremented
by 1. Basically a simple ping-pong command.

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