Commit 172c65e
power: supply: rk817: check correct variable
This code checks "->chg_ps" twice when it was supposed to check
"->bat_ps".
Fixes: 11cb8da ("power: supply: Add charger driver for Rockchip RK817")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>1 parent 9abf231 commit 172c65e
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
| 1119 | + | |
1124 | 1120 | | |
1125 | 1121 | | |
1126 | 1122 | | |
| 1123 | + | |
| 1124 | + | |
1127 | 1125 | | |
1128 | 1126 | | |
1129 | 1127 | | |
| |||
0 commit comments