aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/chromeos_laptop.c
diff options
context:
space:
mode:
authorNick Crews <ncrews@chromium.org>2019-08-05 14:22:14 -0600
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-08-22 21:26:18 +0200
commit3b81d8bdd9143449a85166e7987aedea145fce54 (patch)
tree1b5fa3a158f68d5235f217eddbf9a5dd0b02009d /drivers/platform/chrome/chromeos_laptop.c
parentLinus 5.3-rc1 (diff)
downloadlinux-dev-3b81d8bdd9143449a85166e7987aedea145fce54.tar.xz
linux-dev-3b81d8bdd9143449a85166e7987aedea145fce54.zip
platform/chrome: wilco_ec: Add batt_ppid_info command to telemetry driver
Add the GET_BATT_PPID_INFO=0x8A command to the allowlist of accepted telemetry commands. In addition, since this new command requires verifying the contents of some of the arguments, I also restructure the request to use a union of the argument structs. Also, zero out the request buffer before each request, and change "whitelist" to "allowlist". Signed-off-by: Nick Crews <ncrews@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/platform/chrome/chromeos_laptop.c')
0 files changed, 0 insertions, 0 deletions