diff options
| author | Stephan Gerhold <[email protected]> | 2024-07-12 10:00:03 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-07-26 22:18:40 +0000 |
| commit | d6cca7631a4b54a8995e3bc53e5afb11d3b0c8ff (patch) | |
| tree | ce266b4f41eea3922499e18ad613168e0d3f550a /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | power: supply: qcom_battmgr: return EAGAIN when firmware service is not up (diff) | |
| download | kernel-d6cca7631a4b54a8995e3bc53e5afb11d3b0c8ff.tar.gz kernel-d6cca7631a4b54a8995e3bc53e5afb11d3b0c8ff.zip | |
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 <[email protected]>
Signed-off-by: Stephan Gerhold <[email protected]>
Tested-by: Johan Hovold <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
