diff options
author | Michael Nosthoff <[email protected]> | 2019-08-16 09:37:42 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2019-09-02 10:06:23 +0200 |
commit | 99956a9e08251a1234434b492875b1eaff502a12 (patch) | |
tree | b041514d1ff03e43c2866bd74e980dae7a4d8486 /lib/test_overflow.c | |
parent | fa7da7449eb3172e9ef56ae69a1db237cb26c8df (diff) |
power: supply: sbs-battery: use correct flags field
the type flag is stored in the chip->flags field not in the
client->flags field. This currently leads to never using the ti
specific health function as client->flags doesn't use that bit.
So it's always falling back to the general one.
Fixes: 76b16f4cdfb8 ("power: supply: sbs-battery: don't assume MANUFACTURER_DATA formats")
Cc: <[email protected]>
Signed-off-by: Michael Nosthoff <[email protected]>
Reviewed-by: Brian Norris <[email protected]>
Reviewed-by: Enric Balletbo i Serra <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions