lkml.org 
[lkml]   [2020]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/9] power: supply: smb347-charger: IRQSTAT_D is volatile
Hi,

On Sun, Mar 29, 2020 at 06:15:44PM +0200, David Heidelberg wrote:
> From: Dmitry Osipenko <digetx@gmail.com>
>
> Fix failure when USB cable is connected:
> smb347 2-006a: reading IRQSTAT_D failed
>
> Fixes: 1502cfe19bac ("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>
> ---

Thanks, queued to power-supply's for-next branch.

-- Sebastian

> drivers/power/supply/smb347-charger.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/power/supply/smb347-charger.c b/drivers/power/supply/smb347-charger.c
> index c1d124b8be0c..d102921b3ab2 100644
> --- a/drivers/power/supply/smb347-charger.c
> +++ b/drivers/power/supply/smb347-charger.c
> @@ -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:
> --
> 2.25.0
>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-05-10 18:29    [W:0.112 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site