Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4B57C61DA4 for ; Mon, 13 Mar 2023 13:46:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbjCMNq0 (ORCPT ); Mon, 13 Mar 2023 09:46:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbjCMNqR (ORCPT ); Mon, 13 Mar 2023 09:46:17 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2110.outbound.protection.outlook.com [40.107.7.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC57637FF for ; Mon, 13 Mar 2023 06:46:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K3o2FKLv6+WfGVwVBuGeaACLMRv8zPuFHp6RoNsiYNHl0hGEWNC/ga8bIBwEaQSXNohQBCy/hpY28Aa0LS/89LmQfwlP2/4OG/rSpyx/mGX2e4tJiOom1VjxgVrtFvUEGE2/1owHvwui9wk8fejRmksMoSCF+g/Nzbx8Qykrq0IeGUDSg8c7I4HnwSsD7PvYPzMxirabw6LhSC4zbjYIJq7UdBOS17tlMpiU8b1BnhkYtgxHR+RcR9/DhIHCEMoO3cGB7MQ24C2ASTYqbBdAi7TCyvuIDMINVY9Z0HIgQNsKav0QmL+sR8Ts1zATmDPXAguHcValGB+pLJAaRyUm2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mFSIC76w5G33eWJRS8tKw04NrY03Bf607hFPz7cEGzo=; b=MWYXxvFH4us3QDc580If5ap4eikqr9u3wsEZJtd0Y6ncyYUD06vwIrtdDjH62crFmAcLj1JRV3OOxH72VLluFNyzOp3wOSxMs2eg1Ngp+WiUmPuGHqtZ/rKSbXbo6kuAuk4acwRcdh4NnSg1WUYH1ZPW03xauQkn40SX180exbs+/lraN0xplp7XEEuYFMnceCBG7wB0tVQxtwu0CuXr7EY7kAPheuhW9iCiyRDhvwxEm/xmCl4MlBnq1nG+c3YuOJo67lfdFEP6ESCqxzJXtJDGoajzJoaZVZE4j7rytTrsStuFP5n6Ju0v60BxejYYIAwq6R7Np8kh4EhDHOFXNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kontron.de; dmarc=pass action=none header.from=kontron.de; dkim=pass header.d=kontron.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mysnt.onmicrosoft.com; s=selector2-mysnt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mFSIC76w5G33eWJRS8tKw04NrY03Bf607hFPz7cEGzo=; b=JYUYUxTI0pB/kptXi5BY/3/Y9f9K01zaK9A6ZddV9fovTGK23p2Ow1Ov5a7q4/Nzj2O18Mbne9SxJJ6fz3jDuLRFovT9ijzKIU+4eY73KAEb1svN9MsGsoVC0v6m9P1r2L6YTjgZhBDshNTKCwJfmFHbUV9UMDD4qZxyxpqGDQE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=kontron.de; Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) by GV1PR10MB6172.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:94::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.24; Mon, 13 Mar 2023 13:46:10 +0000 Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::914b:adde:72ff:b7c2]) by PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::914b:adde:72ff:b7c2%3]) with mapi id 15.20.6178.024; Mon, 13 Mar 2023 13:46:10 +0000 Message-ID: Date: Mon, 13 Mar 2023 14:46:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 1/1] regulator: pca9450: Fix BUCK2 enable_mask Content-Language: en-US To: Alexander Stein , Liam Girdwood , Mark Brown , Robin Gong Cc: linux-kernel@vger.kernel.org References: <20230310092857.3555187-1-alexander.stein@ew.tq-group.com> From: Frieder Schrempf In-Reply-To: <20230310092857.3555187-1-alexander.stein@ew.tq-group.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ZR0P278CA0073.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:22::6) To PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR10MB5681:EE_|GV1PR10MB6172:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ea14eae-724d-4b85-9617-08db23c94deb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2ie1a4/uCycfoYY/ggYNPo7jpWHIfb8w/MZL/VWqH1Pgr9pYEssomgUrvGa02+2xOr541G0NNsSD2OH3bNcoCcjIeES27AT8IVNgpNuLsdRPP5f4vESXpofKDZqnR4lJlIGtMg78EA3rInaT3r2vBAaIqaJH2uK+qc+DiRXvAsGo8+V8EUAdFzqrDMm5C0UQ/Sm/jSGcTGDoGxYgPswkVTNHN/FwuWL5jvJwKKZYZEcndM6ImN6/JFqlEZ1AKAceGS1qR7IkmjKA+XPgv1YPXnu4UFuhS5HK8ZISrotrIWW0c8TL31h4ncPQXD/VT2vZ+KCnljm6L4lUgadGgfzkFkrZZvClaZSTtADfg+uZwchTwV7B9sTyt4y6OhcHu0cXLBadKUXU5fkpOvxtcdttPHUtKjWrvvczk85H0PIuBuIJQ0EQBvHX2SovS3QkqJAXvU7auhyicqAlsOspIu8ADQh6ObE93BpuxVLhNPBsJTuitwYn6LeLw78rQR0ajDOUTaUpLwf/BL9QFFaCeTvVz361G1e9Ue4P5SHm3S4GW7GYd+Wiy26EFjwJ0hRf4ePJNQRyafWZT/9rwt3aw/YDpu//lNEjUUCmWZBOY7aj54WWoPp/B9vVaFHpfotlVo9sG43ZfResOfq3ZZAkLRvvdHNMr80UtqjK4K/YqMeQcojWrcnI6p0deeahQz/p9aAMLjCnG+7ogTml7zABIWoyt6MqXQWQ5C3CJJUbeeS6baM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230025)(4636009)(39860400002)(396003)(136003)(366004)(346002)(376002)(451199018)(31696002)(86362001)(36756003)(38100700002)(4326008)(66556008)(66476007)(66946007)(8676002)(41300700001)(8936002)(110136005)(478600001)(316002)(44832011)(5660300002)(2906002)(2616005)(83380400001)(6486002)(186003)(53546011)(6506007)(26005)(6512007)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZDRESmZEZkx5YW4vWGxGck03Y0ZMMGZEbm50SmFMcDRaRWxDRHRHUStBMUNX?= =?utf-8?B?cVFwZElTa3BadFlIQnJoT1hQKzFvWmI4UTAzYUdDbVUxM0hIVHFBcnNFRGh4?= =?utf-8?B?QWlLOXVkT2I3aVlhTXA1Wk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OTzRKenBHUnJLa1RhQTZJOFY3RkEwZCtkTHpzWE9IZ01OZXJrTDRtWTZS?= =?utf-8?B?SjRtbjJRUS8yc0dFbm9nSFFkUFRkRWwxS2VuRWxEekxKMWpRY0RkMlE2dUhW?= =?utf-8?B?VmwyeGRYblplT2YzaWg1dDgyZUkwRWs5UUZhdCtMZ05ZTEFIMzdtZ0I0NEFi?= =?utf-8?B?ZGdpS0REVWVqM1RvaWtnTEtTWXZ2R1JqWmk5WjYycW5zdGRCQWtObHk3MVlw?= =?utf-8?B?WlE9PQ==?= X-OriginatorOrg: kontron.de X-MS-Exchange-CrossTenant-Network-Message-Id: 1ea14eae-724d-4b85-9617-08db23c94deb X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2023 13:46:10.8097 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8c9d3c97-3fd9-41c8-a2b1-646f3942daf1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8bcuvou/Hsyj8uAtDh4H2xq0mHs0X76QgDHAECYH2f3TcitvbqElbd+LoXrWKWlUtgWASzK4xzbci1oyXn1BiDGiSa5uhJ9R0Rxlums5l4M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR10MB6172 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10.03.23 10:28, Alexander Stein wrote: > This fixes a copy & paste error. I would mention here, that this doesn't contain any functional changes as BUCK1_ENMODE_MASK is equal to BUCK2_ENMODE_MASK. > > Fixes: 0935ff5f1f0a ("regulator: pca9450: add pca9450 pmic driver") > Originally-from: Robin Gong > Signed-off-by: Alexander Stein > --- > This diff is extracted from a downstream commit authored by Robin Gong. > I'm not sure if adding Originally-from: is enough here or I do have to > change From: as well. I never heard of "Originally-from:". Does this tag exist? Is it documented somewhere? I think that your tooling (git format-patch) should add a From: tag automatically if you correctly pick up a patch from someone else. Other than these formal issues the change itself looks good to me. > > 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 c84d95b11e9c..544e741f7108 100644 > --- a/drivers/regulator/pca9450-regulator.c > +++ b/drivers/regulator/pca9450-regulator.c > @@ -265,7 +265,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, > .enable_val = BUCK_ENMODE_ONREQ_STBYREQ, > .ramp_reg = PCA9450_REG_BUCK2CTRL, > .ramp_mask = BUCK2_RAMP_MASK, > @@ -509,7 +509,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, > .enable_val = BUCK_ENMODE_ONREQ_STBYREQ, > .ramp_reg = PCA9450_REG_BUCK2CTRL, > .ramp_mask = BUCK2_RAMP_MASK,