[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250206122136.197793-4-isaac.scott@ideasonboard.com>
Date: Thu, 6 Feb 2025 12:21:38 +0000
From: Isaac Scott <isaac.scott@...asonboard.com>
To: michael.hennerich@...log.com
Cc: lgirdwood@...il.com,
broonie@...nel.com,
linux-kernel@...r.kernel.org,
Isaac Scott <isaac.scott@...asonboard.com>
Subject: [PATCH 1/1] regulator: ad5398: Correct the SW_POWER_DOWN bit number
The datasheet for the AD5398 regulator indicates that the Soft power
down bit is bit 15, not 16 as represented in the driver. Correct this to
ensure the functionality is implemented correctly.
Signed-off-by: Isaac Scott <isaac.scott@...asonboard.com>
---
drivers/regulator/ad5398.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c
index 0274f41d0233..eb2a666a45cb 100644
--- a/drivers/regulator/ad5398.c
+++ b/drivers/regulator/ad5398.c
@@ -16,7 +16,7 @@
#include <linux/regulator/machine.h>
#include <linux/regulator/of_regulator.h>
-#define AD5398_SW_POWER_DOWN BIT(16)
+#define AD5398_SW_POWER_DOWN BIT(15)
struct ad5398_chip_info {
struct i2c_client *client;
--
2.43.0
Powered by blists - more mailing lists