]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: cros_ec: Fix host command for regulator control.
authorPi-Hsun Shih <pihsun@chromium.org>
Fri, 24 Jul 2020 08:03:55 +0000 (16:03 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jul 2020 13:34:23 +0000 (14:34 +0100)
commit9dd8bc1cf90e8af1771c56e4b36aaae35296d0c7
treecafedf8e8a7a740edb537b270b3692d82b031761
parent19f1df57b14f5ae9fffda7fc194eeadf37f9b667
platform/chrome: cros_ec: Fix host command for regulator control.

Since the host command number 0x012B conflicts with other EC host
command, add one to all regulator control related host command.

Also fix a wrong alignment on struct and sync the comment with the one
in ChromeOS EC codebase.

Fixes: 209a5719ea17 ("platform/chrome: cros_ec: Add command for regulator control.")
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200724080358.619245-1-pihsun@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/platform_data/cros_ec_commands.h