summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorReka Norman <rekanorman@chromium.org>2023-08-25 04:43:56 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 09:39:54 +0200
commite90bd1fe7cda1aa267fe683e392b4433ec2dc0d3 (patch)
tree4096eff23a1952a2be7b800dbdb6eb1ceb0989cc /rust
parentmedia: cros-ec-cec: Manage an array of ports (diff)
downloadlinux-e90bd1fe7cda1aa267fe683e392b4433ec2dc0d3.tar.xz
linux-e90bd1fe7cda1aa267fe683e392b4433ec2dc0d3.zip
media: cros-ec-cec: Support multiple ports in set/get host commands
Reuse the top four bits of the cmd field to specify the port number. The reason for doing this as opposed to adding a separate uint8_t field is it avoids the need to add new versions of these commands. The change is backwards compatible since these bits were previously always zero, so the default behaviour is to always operate on port 0. Signed-off-by: Reka Norman <rekanorman@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions