Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3345472pxv; Sun, 4 Jul 2021 16:09:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAAy17sXOra66of9lkcCJJBH9wE1rIUgyB/BqxrERHFv0nGULmKUaxabHoWkW6RuUiRkb0 X-Received: by 2002:a17:906:9c84:: with SMTP id fj4mr9001076ejc.356.1625440151397; Sun, 04 Jul 2021 16:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625440151; cv=none; d=google.com; s=arc-20160816; b=mZm6pCxmC7MRC1M8RZgv9Z8tYAu3KPol46Z7D6mYQ+JkYGoQETEMqMdUJzHYwnYbYJ CuRaWVXDTq0l+7bZOxpwmZJBSJMybhq8waoU45Oj6P1mMqYZLkgsiJ8MSRYe5EZUbayF mJDsN1i52PDit9TB06bdTFDcCErkdiIpkDFCkSQBaCBT2fWPM/3m0UpskrfYEoCEbzH7 rpnMHrDmquNUab4+mGytfFwOugQ693YeKPqJcWvTmmftATKD4yCQDzYUKX0zoU8jaN/P VbNWo8HYC1UDA9yXk67jVLiJpdrOSpGVuOjXpMECFbx4EnCbxjQtu2OP1ItvZB6UICVj tXxA== 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=FFXvL8J0KcaRMYj7mcyWW+80IhSJNJPDmZVI5p+CE45KH+/RJvSvVmA2ITrqmEEvpE tSRKNPdYUnE5XMqJmkCr146sr75cGdnEd7no+UtyclUgbZmOnO/mpqKgZlKYazQDZWMz B5L0xntPdPvuG2r6lPT0WJupZgrT4MUijgsvUadGh/dU4mfRgI6WCCrLeblKwbcpJkIK 9Zpe3TNLp+h+KOXWBnDOZ7BwBpejWEL8m0B4DHZvvDcftJW1yM3DLdGzrvXAihRZuORt POxIt6E5yod+zr24s6N1lWgM0KwWQWBzsr7RnNkW60ex7SLDunXWlp8h8FbfoM2j3rLW MBfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XMWTpaSa; 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 ig2si9655748ejc.57.2021.07.04.16.08.47; Sun, 04 Jul 2021 16:09:11 -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=XMWTpaSa; 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 S229549AbhGDXJ4 (ORCPT + 99 others); Sun, 4 Jul 2021 19:09:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:48218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231423AbhGDXIq (ORCPT ); Sun, 4 Jul 2021 19:08:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 30E44613F9; Sun, 4 Jul 2021 23:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625439971; bh=Auz1i9Vu8ZGHbO+T/8MnQgeUUVcxEUmWz8KkWj4sn7s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XMWTpaSaG9bmPYba1vSjseojs3xQoRUWxm6qK+S7LDA0Cx+jNw8bnxjMyUAsmGMfF cs6WQNPTe0YP/5FAVoz4eSjcHKw7ArOqmT5FPPAgeU/sEcOWN8ZYpNjrSEDziWJxaL m1iE6qPx1eYqouksyHa29sUKu0mSQS3rHbZXYAq5EO7ByyyilavzNZ6fmfrHKt8DdI 2PHsC5ak4iU42AIdRwRZPeQX2q7zVyizEXtnmecEP+mGxlWgoIDtVSOmFeGz3akee9 fD8bWMIIuCqHgEvFafvldff6TfvkvZfglR3ORDRnOgy0qaDbjX11yNWCINcYx+MTLM F+3EDrbzydC8g== 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.13 82/85] regulator: mt6358: Fix vdram2 .vsel_mask Date: Sun, 4 Jul 2021 19:04:17 -0400 Message-Id: <20210704230420.1488358-82-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210704230420.1488358-1-sashal@kernel.org> References: <20210704230420.1488358-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