mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
power: supply: smb347-charger: IRQSTAT_D is volatile
[ Upstream commitc32ea07a30] 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 <david@ixit.cz> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: David Heidelberg <david@ixit.cz> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ad8b5b5faf
commit
79790202d4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user