From patchwork Thu Feb 11 03:49:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Marek X-Patchwork-Id: 381132 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86A1EC433E0 for ; Thu, 11 Feb 2021 03:52:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4950664EB9 for ; Thu, 11 Feb 2021 03:52:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbhBKDvr (ORCPT ); Wed, 10 Feb 2021 22:51:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbhBKDvr (ORCPT ); Wed, 10 Feb 2021 22:51:47 -0500 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01E67C061756 for ; Wed, 10 Feb 2021 19:51:07 -0800 (PST) Received: by mail-qv1-xf2d.google.com with SMTP id 2so2000603qvd.0 for ; Wed, 10 Feb 2021 19:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1JRQPi8afvmid+3tRo/OzmXqnSbsfD3pYZ5yNHooWxM=; b=VISLrZvRaUhLOCLe2FGu+m++fW0mPaeRO6FDmdrtpO4knZ0+Cw+CPoRGsugGvmvi6c CIWbKX0wL46o6YO93Fh4hzxDkzHX8b3NCS4i90aryGvnDrN6z1r2NwyTHOiG4KdSlGrK Ln3GnyavinLKAEfnmUjgmqhBP+ASXjkG/LJYKYE+C9pFdPFdTEEGUpe4zp2mVLDQwxhJ 5HFOms/1LAMHoDD1XZv+IhoeWUKjNyZgzkLnlRakHDkr3OBzhgIqv5s9YaZVUQXQY7Kp Mi3Z8j8uPDOYcxBDafQrqRWZFzhIRfMe5Pd4JNq/Lh67Ys42wyVtdUSzc0Z4sRgOcpRF aaWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1JRQPi8afvmid+3tRo/OzmXqnSbsfD3pYZ5yNHooWxM=; b=h0f59/zrFoK1GdcpePL8tE1z6r/N3uWGVUqvLI01z8o7WF7caQxUw5yeM/1ITmgdEB bgTESdXpZ7M+xAtwYgCqwn7Vzs0eiI+2bo80AbW1Vs+S+hhHx0o0i7t32fYPYC1vRlL6 1WaNrghI8zP1t8bLi3pWpxpIRQU1WXKK8CU5t76hfgoKnWXMke3W05/b/hlDhSyJeWy8 Ei1CGEd7ggXaYIlxlYiJH7YwaIQGmhVaekMx51TW5e+TMF1WcWdwFZY2Mh0Z3T/+ul8R nQYnjkeGGB1cADIWfhkWlfPZYhqk02hltcd/GbmgZCWj7FfdgGYICDVskPCeBVmXwzrS /iRw== X-Gm-Message-State: AOAM530vI6h/o8nB20xHe0FoE86dGIt3oKO0IbP7YyLNv+NcMAp/oCof Hmih8qgEuJU3un56N/Z7RPE++mBjbvB5ha0m X-Google-Smtp-Source: ABdhPJzBDe0KgR7/3d35o57TM5AYMimUMDR1QvYuUfnCiXBC5iAfSjEXVE1zSy/exg6rIO54wTYeNg== X-Received: by 2002:a0c:e98f:: with SMTP id z15mr6125183qvn.25.1613015465926; Wed, 10 Feb 2021 19:51:05 -0800 (PST) Received: from localhost.localdomain (modemcable068.184-131-66.mc.videotron.ca. [66.131.184.68]) by smtp.gmail.com with ESMTPSA id x49sm2809945qth.95.2021.02.10.19.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Feb 2021 19:51:05 -0800 (PST) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , Vinod Koul , linux-kernel@vger.kernel.org (open list:VOLTAGE AND CURRENT REGULATOR FRAMEWORK) Subject: [PATCH] regulator: qcom-rpmh: fix pm8009 ldo7 Date: Wed, 10 Feb 2021 22:49:35 -0500 Message-Id: <20210211034935.5622-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use the correct name to avoid ldo7 commands being sent to ldo6's address. Fixes: 06369bcc15a1 ("regulator: qcom-rpmh: Add support for SM8150") Signed-off-by: Jonathan Marek Reviewed-by: Vinod Koul --- drivers/regulator/qcom-rpmh-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 05f1b4e150f4..043dc2fd39eb 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -937,7 +937,7 @@ static const struct rpmh_vreg_init_data pm8009_vreg_data[] = { RPMH_VREG("ldo4", "ldo%s4", &pmic5_nldo, "vdd-l4"), RPMH_VREG("ldo5", "ldo%s5", &pmic5_pldo, "vdd-l5-l6"), RPMH_VREG("ldo6", "ldo%s6", &pmic5_pldo, "vdd-l5-l6"), - RPMH_VREG("ldo7", "ldo%s6", &pmic5_pldo_lv, "vdd-l7"), + RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo_lv, "vdd-l7"), {}, };