diff options
author | Sven Van Asbroeck <[email protected]> | 2016-08-12 09:10:27 -0400 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2016-08-12 22:42:25 +0200 |
commit | 5381cfb6f0422da24cfa9da35b0433c0415830e0 (patch) | |
tree | a740ad125b8dbf4436b1e6fc8d8570d97e66dd46 /tools/perf/scripts/python/stackcollapse.py | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
power: supply: max17042_battery: fix model download bug.
The device's model download function returns the model data as
an array of u32s, which is later compared to the reference
model data. However, since the latter is an array of u16s,
the comparison does not happen correctly, and model verification
fails. This in turn breaks the POR initialization sequence.
Fixes: 39e7213edc4f3 ("max17042_battery: Support regmap to access device's registers")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sven Van Asbroeck <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions