media: cros-ec-cec: Support multiple ports in MKBP cec_events
authorReka Norman <rekanorman@chromium.org>
Fri, 25 Aug 2023 02:43:58 +0000 (12:43 +1000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:39:54 +0000 (09:39 +0200)
commit1cabf52639d16428bc0d61028dcaf38e29c5f3b5
tree88108f5b22d117e7a1f67bdfa85d7ae854ae0dd4
parentadbfc747ddfb48c06d238640e16939916b7a4494
media: cros-ec-cec: Support multiple ports in MKBP cec_events

Use the top four bits of the cec_events MKBP event to store the port
number.

Signed-off-by: Reka Norman <rekanorman@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/cec/platform/cros-ec/cros-ec-cec.c
include/linux/platform_data/cros_ec_commands.h