Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3346690pxv; Sun, 4 Jul 2021 16:11:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBHcNEn+kLo8nBljX0rDLN+l045kmLMtyVvVzRLEFocUhmtw/iywJpDNU9Jc56b2/K+hQ4 X-Received: by 2002:a17:906:2d4a:: with SMTP id e10mr10694754eji.87.1625440293922; Sun, 04 Jul 2021 16:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625440293; cv=none; d=google.com; s=arc-20160816; b=tAvcCmGdQZEH1PJlqKr87sn5mCrIoDjDLjZ2k3HNcSo9Fh1w128waCH+v3mfAqhf7e 88D1xyi5v/1Kq5U21u6EfmbDopG8ozf5g8gWm4BRGfoUoGIq4tfF/QhmAqqy45UaJMCr K3YWW15y7fZPiBuyCZiuA/sIPuBBrbJllh7dGHLqZv9WQEsXSSqvZR6joYuUGZyGTH+y rlIwTstd7HQV0eZ2utZHTgN+gdhgpwmZkmDF8EncT8JgdsmakGw3vLInuseRUltM2oAd zwnNB7lefsrNZwzgOCmYSuRU8NbmpHfwtiwz8enZBqE2Vs+v4CxkZP4E0LPoSOdLV53+ I2YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5pDPu9OvahpoAgZTjjAUf8WAjEyvvbV5QsQJEZWUvUU=; b=l8SlEZLrv9yIa6vsZpUfFabziclEOIZSP0OuRn1862nDudSeKvVWsSB2TFmXpurL/i tWLmfKL1DiqC8KIyDiJ0NX4gouuibjJq3GMsAuOW6Y9OeBJIA3voWEl5ANBVD61zZ2UP 6FA//4zn4KZrZIM9A+UM84GmUYcz3pEXjSdXLkH/c3EG+6wemgBHZ9/tv1PAXQSvyeCC VHLDIi+AZfu6GzGvQU7vR76nbefW6R1yCpqhiLEW3XK1em91hYBqxaRP0trQ48A1blwO fBaJrr3WrpTnT6m6MS3vk57R7EVsFXIiZNOOqNIOATw5TG0cU0tudmsZmAAFWGs7eBf7 ZSmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i+ApoUgb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si1459653edx.316.2021.07.04.16.11.11; Sun, 04 Jul 2021 16:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i+ApoUgb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231401AbhGDXM6 (ORCPT + 99 others); Sun, 4 Jul 2021 19:12:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:49110 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232308AbhGDXLF (ORCPT ); Sun, 4 Jul 2021 19:11:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 733BC613F6; Sun, 4 Jul 2021 23:07:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625440080; bh=Auz1i9Vu8ZGHbO+T/8MnQgeUUVcxEUmWz8KkWj4sn7s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i+ApoUgbUn9HFYnfG2jgb6/X8zWWMBG8zXypTyLFS+LDpck6IrK09BD4mh4CHDMdL Dj7AMBiadT5a/fMJaCxcKNq24crhWinfNbuEaPKiqcuN1BXqc5tO/O8nhRkcWR2zrf rRSAPGzgnRNUs3A4O9ZI8bSLMyyNQs07N0i8WQmnfxASnw+aqvIUBKqSsR7hnJeTDf 3w6EqSNi3nY2jZHI0Drsg+Mb68ayfSmjlwfcLhKCvQ9IrL67DM5qUAst6NqUqHKDu7 HgZxYYcIPkSjdArMNroQhNiKR4gbUvcjSZeJ1BL3ee13CAI3BVH8FeVRlcg9j+cYkH XTCaxbfK14PJg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hsin-Hsiung Wang , Axel Lin , Mark Brown , Sasha Levin , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH AUTOSEL 5.12 78/80] regulator: mt6358: Fix vdram2 .vsel_mask Date: Sun, 4 Jul 2021 19:06:14 -0400 Message-Id: <20210704230616.1489200-78-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210704230616.1489200-1-sashal@kernel.org> References: <20210704230616.1489200-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hsin-Hsiung Wang [ Upstream commit 50c9462edcbf900f3d5097ca3ad60171346124de ] The valid vsel value are 0 and 12, so the .vsel_mask should be 0xf. Signed-off-by: Hsin-Hsiung Wang Reviewed-by: Axel Lin Link: https://lore.kernel.org/r/1624424169-510-1-git-send-email-hsin-hsiung.wang@mediatek.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/mt6358-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/mt6358-regulator.c b/drivers/regulator/mt6358-regulator.c index 13cb6ac9a892..1d4eb5dc4fac 100644 --- a/drivers/regulator/mt6358-regulator.c +++ b/drivers/regulator/mt6358-regulator.c @@ -457,7 +457,7 @@ static struct mt6358_regulator_info mt6358_regulators[] = { MT6358_REG_FIXED("ldo_vaud28", VAUD28, MT6358_LDO_VAUD28_CON0, 0, 2800000), MT6358_LDO("ldo_vdram2", VDRAM2, vdram2_voltages, vdram2_idx, - MT6358_LDO_VDRAM2_CON0, 0, MT6358_LDO_VDRAM2_ELR0, 0x10, 0), + MT6358_LDO_VDRAM2_CON0, 0, MT6358_LDO_VDRAM2_ELR0, 0xf, 0), MT6358_LDO("ldo_vsim1", VSIM1, vsim_voltages, vsim_idx, MT6358_LDO_VSIM1_CON0, 0, MT6358_VSIM1_ANA_CON0, 0xf00, 8), MT6358_LDO("ldo_vibr", VIBR, vibr_voltages, vibr_idx, -- 2.30.2