From nobody Sun Feb 8 04:18:12 2026 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DE912253F0 for ; Thu, 6 Feb 2025 12:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738844590; cv=none; b=XQbdNdp3Yz+8V4uxs8V/1gNI1cg/zSn0qJI56w52jMtsr97SM42XB5ubmbySFknI96RUOcHW+mBMUIBG64VSl+/ZuLVZ5EnjtkbABn43NqLhtOg1e0nLAqy7zfxrK7T1KaLjV+3c8rB/CFm+1Ri21AmIEY8zcaKx4Kb6mzefFPs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738844590; c=relaxed/simple; bh=Ap18sWqPqaqbAEgQZo/PGqG5bZi5XCaSycqw04rTQG4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=da7Qv5R/CCJR56GefydiKrBPWnAg6waNiRJd4SSVEJUGD64vWtXa/w+UOHy94wqHRyByrRH8sNZ7jS/GPRHArKhRLU0EQrFVPBoyuD6y98MpBuQ6IUiW02onbRHotoO/XbobQcuatVDP58yFQrYI2izMC4eFMMfjN8YnbWdwUzc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=GXm1uPb3; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="GXm1uPb3" Received: from isaac-ThinkPad-T16-Gen-2.lan (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1E2621193; Thu, 6 Feb 2025 13:21:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1738844514; bh=Ap18sWqPqaqbAEgQZo/PGqG5bZi5XCaSycqw04rTQG4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GXm1uPb3HDA+uKCZVa2LR//h58M0Z/5zWnwf9k+Bu82yVpnmKBTGAxvWghA9UIggg jyj4Dvdra3Fj7OzHSmn6FNGBaMz+d6zjYaEqftmbnhrpzMncipsjqamg05HEqgJZOH mbB6saxMGYJl+6x3cis8kaZBMVCNd11ATIgOXACc= From: Isaac Scott To: michael.hennerich@analog.com Cc: lgirdwood@gmail.com, broonie@kernel.com, linux-kernel@vger.kernel.org, Isaac Scott Subject: [PATCH 1/1] regulator: ad5398: Correct the SW_POWER_DOWN bit number Date: Thu, 6 Feb 2025 12:21:38 +0000 Message-ID: <20250206122136.197793-4-isaac.scott@ideasonboard.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250206122136.197793-2-isaac.scott@ideasonboard.com> References: <20250206122136.197793-2-isaac.scott@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 #include =20 -#define AD5398_SW_POWER_DOWN BIT(16) +#define AD5398_SW_POWER_DOWN BIT(15) =20 struct ad5398_chip_info { struct i2c_client *client; --=20 2.43.0