diff options
author | Stephan Gerhold <stephan.gerhold@linaro.org> | 2024-07-12 13:00:03 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-07-27 01:18:40 +0300 |
commit | d6cca7631a4b54a8995e3bc53e5afb11d3b0c8ff (patch) | |
tree | ce266b4f41eea3922499e18ad613168e0d3f550a /tools/testing/selftests/mm/Makefile | |
parent | bf9d5cb588755ee41ac12a8976dccf44ae18281b (diff) | |
download | linux-d6cca7631a4b54a8995e3bc53e5afb11d3b0c8ff.tar.xz |
power: supply: qcom_battmgr: Ignore extra __le32 in info payload
Some newer ADSP firmware versions on X1E80100 report an extra __le32 at the
end of the battery information request payload, causing qcom_battmgr to
fail to initialize. Adjust the check to ignore the extra field in the info
payload so we can support both old and newer firmware versions.
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240712-x1e80100-battmgr-v1-1-a253d767f493@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/testing/selftests/mm/Makefile')
0 files changed, 0 insertions, 0 deletions