Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9953104rwr; Fri, 12 May 2023 01:26:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5gIg3QkVKuBftpiSDAKLKja3ZwYvJturCBMMM417TDwwMsSl16rJ7EUUodSvVI5lM+Z1zK X-Received: by 2002:a17:902:e852:b0:1a6:c595:d7c3 with SMTP id t18-20020a170902e85200b001a6c595d7c3mr28698463plg.22.1683879960035; Fri, 12 May 2023 01:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683879960; cv=none; d=google.com; s=arc-20160816; b=juViUkL5QSWVVr3e6KWOx1HWqviOMO+7r0/tXzOIGU+oBYc+dB58J48PNyTGFHhyhB EN90Tq92/Ny+2uFtmvzMGUOueICPCSyUbIXic+AimP35BQPmfPpC+ouj5FcsE+RClER8 AMiaaTYX2W3DNeBhzzZ/822eJug8HcowYBxcU3zQQHvMC3B9blezZmVmlZl8wyk5QUW5 ZJ/p4Ev2wT1EtOvk5Yqz6/Vv+1U5SipfwLC/OpPV4eqODjkmVRDsCNooyWGrJW/vKDEd 8TJ98dOT6MIh1bvs4HNn5/np6xigQKn3CHH/Os3mlBOyhE9RxtWsbyPTE2eqn9keTP6F sxgQ== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=HNvzrh3FezI6IAN3gOCwPdgB08P8jCqMVS6nDIz1CWY=; b=MvV8QWear1R+3ihGuRERsr1a0gZ8KIpk1GNb+mex8KuaJZhJ52U7kTd8KCIzCWyv+x B65MlJRVejUtIMweHJUPcR1rhZTlnUof1XXmPJj5opl2KeOER1ngftjJ4J/zl9mOHa4C rOnnSDUbdY+z4QtpdDBWzCTk5+dAV+iFFA32AhDZTGOAZkkAgO/6HyR2PpcUV1E4kcsS Qp3KJu0DciFkdwTqqm7FLUU4nIfAJTUasmokiIsVtZxYwLXFT7occQ2l0UgDUrlYu1qd 3YLC1XY4YIHaFLYBcyJrd5rL+jaCAjEW9fPkjmoE4OdRdgptEM5K/zRagSGi3uT39138 AkLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=jtIRWk6R; dkim=pass header.i=@tq-group.com header.s=key1 header.b=pCr9ZekA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020a170903234900b001a5264640cesi9590363plh.534.2023.05.12.01.25.45; Fri, 12 May 2023 01:26:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=jtIRWk6R; dkim=pass header.i=@tq-group.com header.s=key1 header.b=pCr9ZekA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239991AbjELITl (ORCPT + 99 others); Fri, 12 May 2023 04:19:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239929AbjELITk (ORCPT ); Fri, 12 May 2023 04:19:40 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9CD01FC8 for ; Fri, 12 May 2023 01:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683879578; x=1715415578; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HNvzrh3FezI6IAN3gOCwPdgB08P8jCqMVS6nDIz1CWY=; b=jtIRWk6RbGhjN/UOzWbBI6HkeoJyTKqoTjqXQUo5ooRfONKLZLCfZ682 xXmNlzMZ1gufszV3X4QiGa0dZvrebmUO2XZkZZkv0RuGvKbh9gzy8W7Ce rJl1lsxzu7mz7r9nfq7i2Qhs0hVQVS/5kpLTF2g/l3YNxWg/MiE4sn8W9 Hm80XYeH+NeGR+1+zqEgpZqrHCa/05zaqDToUVQPlKGHhyzBEfWWCpPnV gZshADtM056TqEYoz4/dmMRc3NfJRbF0cJZLl/x6+QGKzVtlsPMam6ens 7ZYbe+jMhNIK8Tn1mrLNJUWh+82S9hod6+Ao7nu9He6T60kIhq1OWpA98 A==; X-IronPort-AV: E=Sophos;i="5.99,269,1677538800"; d="scan'208";a="30871215" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 12 May 2023 10:19:37 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 12 May 2023 10:19:37 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 12 May 2023 10:19:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683879577; x=1715415577; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HNvzrh3FezI6IAN3gOCwPdgB08P8jCqMVS6nDIz1CWY=; b=pCr9ZekA8CmcxPm7AFo7ed6m88Tz7Z6XFhabgLc34Y4FoXM64kxxMw/n ea5Lrg3wwWlI/WTEoafQzye2cOXXFRidAgzp5BvqQTrUrZcF51wsxBcuS +xg4WUNjFZzKnhYsbbqN8vbEJIhwwztBFWziVtfeSxkicpKAaA7Wc+7mM g0U/ws7keL7mOU0YiCL+a3LS+o4tWLFgDtnCOjtCJ8JOq4HZC28JVcihM NnXNRzMH7ceynM52Fx6plb3o7aJDpFN6FRBYR+rEy3iZBFesaKzOcecqM L+cNubaM2gnRX51IKNtv2Mu4icNufnTvY/11Ov+AX4jExrmUt77vHFnTa A==; X-IronPort-AV: E=Sophos;i="5.99,269,1677538800"; d="scan'208";a="30871214" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 12 May 2023 10:19:37 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id D84F9280056; Fri, 12 May 2023 10:19:36 +0200 (CEST) From: Alexander Stein To: Liam Girdwood , Mark Brown , Frieder Schrempf , Robin Gong Cc: Alexander Stein , linux-kernel@vger.kernel.org Subject: [PATCH v3 1/1] regulator: pca9450: Fix BUCK2 enable_mask Date: Fri, 12 May 2023 10:19:34 +0200 Message-Id: <20230512081935.2396180-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixes a copy & paste error. No functional change intended, BUCK1_ENMODE_MASK equals BUCK2_ENMODE_MASK. Fixes: 0935ff5f1f0a ("regulator: pca9450: add pca9450 pmic driver") Originally-from: Robin Gong Signed-off-by: Alexander Stein Reviewed-by: Frieder Schrempf --- Changes in v3: * Added Frieder's R-b * Rebase directly onto next-20230512 drivers/regulator/pca9450-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/pca9450-regulator.c b/drivers/regulator/pca9450-regulator.c index 9f2e33a5a69e..91bfb7e026c9 100644 --- a/drivers/regulator/pca9450-regulator.c +++ b/drivers/regulator/pca9450-regulator.c @@ -264,7 +264,7 @@ static const struct pca9450_regulator_desc pca9450a_regulators[] = { .vsel_reg = PCA9450_REG_BUCK2OUT_DVS0, .vsel_mask = BUCK2OUT_DVS0_MASK, .enable_reg = PCA9450_REG_BUCK2CTRL, - .enable_mask = BUCK1_ENMODE_MASK, + .enable_mask = BUCK2_ENMODE_MASK, .ramp_reg = PCA9450_REG_BUCK2CTRL, .ramp_mask = BUCK2_RAMP_MASK, .ramp_delay_table = pca9450_dvs_buck_ramp_table, @@ -502,7 +502,7 @@ static const struct pca9450_regulator_desc pca9450bc_regulators[] = { .vsel_reg = PCA9450_REG_BUCK2OUT_DVS0, .vsel_mask = BUCK2OUT_DVS0_MASK, .enable_reg = PCA9450_REG_BUCK2CTRL, - .enable_mask = BUCK1_ENMODE_MASK, + .enable_mask = BUCK2_ENMODE_MASK, .ramp_reg = PCA9450_REG_BUCK2CTRL, .ramp_mask = BUCK2_RAMP_MASK, .ramp_delay_table = pca9450_dvs_buck_ramp_table, -- 2.34.1