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)
commita233547660a3915973d41e2a9a0923d0cf317a62
treecafedf8e8a7a740edb537b270b3692d82b031761
parent3bda44ffd93bf91fb3326336acf7ff163b1ce97d
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: dff08caf35ec ("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