commit | 4eaae8e99ad62a937070ac2d4e622158ef135d2a | [log] [tgz] |
---|---|---|
author | Michael Auchter <michael.auchter@ni.com> | Mon Dec 09 20:27:31 2019 +0000 |
committer | Simon Glass <sjg@chromium.org> | Tue Dec 10 21:11:31 2019 -0700 |
tree | 788b127af58613bb3f0671f88a40bf4e627729bd | |
parent | 08d34fc862d6d8288e7c0519c29180a27c22e718 [diff] |
cros_ec: use uint instead of uint8_t for cmd param Chromium EC commands can be up to 16-bits, so using a uint8_t here can cause truncation. Update to use a uint instead. It looks like this should likely have been done as a part of 9fea76f5d30264dc08ac591a7a89427b8441555b, but this function was skipped for some reason. Signed-off-by: Michael Auchter <michael.auchter@ni.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>