Commit 4ebeb27
Revert "power: supply: bq27xxx: do not report bogus zero values"
Commit f3974ac ("power: supply: bq27xxx: do not report bogus zero
values") breaks property reporting on chips which are reporting normal
values. During testing, excessive emphasis was evidently placed on the
chip with non-working conditions, and not enough testing was done on a
battery that had normal state.
A correct fix will be submitted in a separate patch.
Reported-by: H. Nikolaus Schaller <hns@goldelico.com>
Closes: https://lore.kernel.org/linux-pm/CB5B8FE7-D619-4D30-BD2D-58B6CEF83D46@goldelico.com/
Fixes: f3974ac ("power: supply: bq27xxx: do not report bogus zero values")
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Link: https://lore.kernel.org/r/20250312121712.146109-2-absicsz@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>1 parent 30cc7b0 commit 4ebeb27
1 file changed
+2
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2148 | 2148 | | |
2149 | 2149 | | |
2150 | 2150 | | |
2151 | | - | |
2152 | | - | |
2153 | | - | |
2154 | | - | |
2155 | 2151 | | |
2156 | 2152 | | |
2157 | 2153 | | |
| |||
2175 | 2171 | | |
2176 | 2172 | | |
2177 | 2173 | | |
2178 | | - | |
| 2174 | + | |
2179 | 2175 | | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
2183 | | - | |
2184 | | - | |
| 2176 | + | |
2185 | 2177 | | |
2186 | | - | |
2187 | 2178 | | |
2188 | 2179 | | |
2189 | 2180 | | |
| |||
2208 | 2199 | | |
2209 | 2200 | | |
2210 | 2201 | | |
2211 | | - | |
2212 | | - | |
2213 | | - | |
2214 | | - | |
2215 | 2202 | | |
2216 | 2203 | | |
2217 | 2204 | | |
| |||
0 commit comments