]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/chrome: lightbar: Add support for large sequence
authorGwendal Grignou <gwendal@chromium.org>
Fri, 30 Jan 2026 08:13:51 +0000 (00:13 -0800)
committerTzung-Bi Shih <tzungbi@kernel.org>
Fri, 30 Jan 2026 08:30:01 +0000 (08:30 +0000)
commit9600b8bdbfe48bb51865be743450160577d2bae2
tree0d6df07be8872b002128c314a834e5c4946aaa4c
parent2d8251d98ce0be96d79aec708aa70cab2b4f6f17
platform/chrome: lightbar: Add support for large sequence

Current sequences are limited to 192 bytes. Increase support to whatever
the EC support. If the sequence is too long, the EC will return an
OVERFLOW error.

Test: Check sending a large sequence is received by the EC.

Signed-off-by: Gwendal Grignou <gwendal@google.com>
Link: https://lore.kernel.org/r/20260130081351.487517-2-gwendal@google.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/cros_ec_lightbar.c
include/linux/platform_data/cros_ec_commands.h