From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9E5D51F1522; Mon, 23 Jun 2025 13:13:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750684399; cv=none; b=OLW4Vj9wx0HwCyWPRkw6cOmyG6x5CcHHGm1yWd8jihCTBWognmdULEfjlxW8Myw8fPv9L6V4tKFj6MG7jkCfkWGtisrplypyiSHkLqXzL5icpcVs1IYg7BBbUCqtH9lYi81EZ1EXgL4pwJepabR+YnCNyjBLGXCKdXJKM6TxDZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750684399; c=relaxed/simple; bh=U3/Jq+4Ezo7afz2XcGApfe0Y11Uk5IYzIddcOfoGG3c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Yro0f7SMNH+6KnxcIkse+7YEuABAHKQ8mXz+8VBzM0JOeTiqRH4K+Su+5svaZgGcBV0uGwlU/sd3O2OCSTSwg18lgsV4O3X0n/6BF3AUra9S1viGQ2GFHs2SC6yDJAySM1WiNcJzSTC1H7s7hlIl/Bgba5SgQUfjxvGhMJ4C4Lg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HzjVGZdX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HzjVGZdX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3389BC4CEEA; Mon, 23 Jun 2025 13:13:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750684399; bh=U3/Jq+4Ezo7afz2XcGApfe0Y11Uk5IYzIddcOfoGG3c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HzjVGZdXtMdgJLAklbQTZhacgSucRyiQM6+odBhFyRq09VX1G+HAdsPsLmNssaLWz tIb2Z6L2FGfnsCHxkAnieOh0GxdbgjFj2T+DW79j6o1ZZs+toOtD+yCnXSRGLVXqEz TOM6UWy41e8CEyKZbH1/U25k0wAo4aZf0xiqM9GQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Jo=C3=A3o=20Paulo=20Gon=C3=A7alves?= , Mark Brown Subject: [PATCH 6.15 027/592] regulator: max20086: Fix MAX200086 chip id Date: Mon, 23 Jun 2025 14:59:45 +0200 Message-ID: <20250623130700.880103490@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130700.210182694@linuxfoundation.org> References: <20250623130700.210182694@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: João Paulo Gonçalves commit 71406b6d1155d883c80c1b4405939a52f723aa05 upstream. >>From MAX20086-MAX20089 datasheet, the id for a MAX20086 is 0x30 and not 0x40. With the current code, the driver will fail on probe when the driver tries to identify the chip id from a MAX20086 device over I2C. Cc: stable@vger.kernel.org Fixes: bfff546aae50 ("regulator: Add MAX20086-MAX20089 driver") Signed-off-by: João Paulo Gonçalves Link: https://patch.msgid.link/20250420-fix-max20086-v1-1-8cc9ee0d5a08@gmail.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- drivers/regulator/max20086-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/regulator/max20086-regulator.c +++ b/drivers/regulator/max20086-regulator.c @@ -29,7 +29,7 @@ #define MAX20086_REG_ADC4 0x09 /* DEVICE IDs */ -#define MAX20086_DEVICE_ID_MAX20086 0x40 +#define MAX20086_DEVICE_ID_MAX20086 0x30 #define MAX20086_DEVICE_ID_MAX20087 0x20 #define MAX20086_DEVICE_ID_MAX20088 0x10 #define MAX20086_DEVICE_ID_MAX20089 0x00