Re: [PATCH] mfd: pca9450: don't warn if PCA9450_PWRON_STAT is 0

2024-05-05 Thread Sascha Hauer
On Fri, 03 May 2024 12:15:19 +0200, Ahmad Fatoum wrote: > The register is zeroed on read, so network booting always prints the > warning that the reset reason is unknown. > > Skip the warning in this case. > > Applied, thanks! [1/1] mfd: pca9450: don't warn if PCA9450_PWRON_STAT is 0 h

[PATCH] mfd: pca9450: don't warn if PCA9450_PWRON_STAT is 0

2024-05-03 Thread Ahmad Fatoum
The register is zeroed on read, so network booting always prints the warning that the reset reason is unknown. Skip the warning in this case. Signed-off-by: Ahmad Fatoum --- drivers/mfd/pca9450.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/pca9450.c b/drivers/mfd/pca9450.c