mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
power: supply: smb347-charger: IRQSTAT_D is volatile
[ Upstream commit c32ea07a30630ace950e07ffe7a18bdcc25898e1 ]
Fix failure when USB cable is connected:
smb347 2-006a: reading IRQSTAT_D failed
Fixes: 1502cfe19b ("smb347-charger: Fix battery status reporting logic for charger faults")
Tested-by: David Heidelberg <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
ad8b5b5faf
commit
79790202d4
1 changed files with 1 additions and 0 deletions
|
|
@ -1138,6 +1138,7 @@ static bool smb347_volatile_reg(struct device *dev, unsigned int reg)
|
|||
switch (reg) {
|
||||
case IRQSTAT_A:
|
||||
case IRQSTAT_C:
|
||||
case IRQSTAT_D:
|
||||
case IRQSTAT_E:
|
||||
case IRQSTAT_F:
|
||||
case STAT_A:
|
||||
|
|
|
|||
Loading…
Reference in a new issue