Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp152127pxb; Thu, 17 Feb 2022 00:36:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4ZwZqkgbTR01cktHQQU58jFihh3Hz3rMyn7/OjtOnkudXmYIDWENa0ua9d0DLWy5qMBwv X-Received: by 2002:a17:902:8a8a:b0:14d:bd69:e797 with SMTP id p10-20020a1709028a8a00b0014dbd69e797mr1911598plo.49.1645086973019; Thu, 17 Feb 2022 00:36:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645086973; cv=none; d=google.com; s=arc-20160816; b=L40Jtq14fBIwfzpmSOvie+8Bvj1+y/7kV1jX1FgcyhpK3PBtwccX6bRB9P4+ID2dyw L17yNo1Bs4BlHXw7AKXe7/g+cZI9JpcR9Q3+tk1jetbKeOmu+zrqmnl9T299rUV3xE1p JKq8X6xBrgPlIdMn70F2FvgpZQGGkEOq5BPTEUpg8m4Lw+sZXoX1D6DXhN/mCaOb8qHJ hh0OFqnFXlM2YGapiJ1u261XpwqE+VkE7DpUV2SW6NGccNh0vNQaAEGRfYZ3vEr1ARYn /wG9p/Qh96QW7+0gugc62L/A/cyy8QDWfjcQ/nxo9NnHhcMvOSnSXv5HuXu4Bh9AWPS6 MXoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QR8r+SBjQSmizFHophkWcfmalBaeXb/3dO5Js2Rryd8=; b=ekNanKfnw3WmLjOJeKF7uFjz+tCHY5JsWNO2N+r/qeLJa1+oFxSRZBlM8d2EGUVq9a 5nzZOiOnBfYwl74FKlW6/OPWowrFxMmaxMV+YkuNERnXcZnSAuP/mmFhWtLswCTznyjR pjKxSYLCFLSVC+cEP9mN9qoDVezxZu7zdB2FwwQ+peRaRDABBSUux3AJpbX0ThDjiz7i n4MI/oYKolON3NzYzmgdYK1yRWjTiOKRFoyshv3kIHMAeE8vBrz3TGY7fo0hp91y0rSF c/bVJf0UwkxdLUmHIAJ938mjdkCH1MBfM1ufijGo+nU3wh45AWAaUnPxMwuVJJqQm8Bt Yyng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=SGKzyTuA; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h71si8052890pgc.167.2022.02.17.00.35.57; Thu, 17 Feb 2022 00:36:12 -0800 (PST) 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=@quicinc.com header.s=qcdkim header.b=SGKzyTuA; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234736AbiBQF7M (ORCPT + 99 others); Thu, 17 Feb 2022 00:59:12 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234823AbiBQF7K (ORCPT ); Thu, 17 Feb 2022 00:59:10 -0500 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3235229ADC4; Wed, 16 Feb 2022 21:58:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645077534; x=1676613534; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=QR8r+SBjQSmizFHophkWcfmalBaeXb/3dO5Js2Rryd8=; b=SGKzyTuA7UvpIOUwGMvI2+Wvu6u7JBu8LbD8w1utqYUee+bNbem2OZiv zb0AqC9WHbDPxWfe0RZbJlHWYiDK1akj2jxNXwqE2CTRCxuToYFLJ/CSW AS32mkbjnHlbOwVzqbUOizCZJONBriPj4w6NHVID7c1ab2c6XgnRsUJMt Q=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 16 Feb 2022 21:58:53 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2022 21:58:52 -0800 Received: from nalasex01b.na.qualcomm.com (10.47.209.197) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Wed, 16 Feb 2022 21:58:52 -0800 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Wed, 16 Feb 2022 21:58:46 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , , Linus Walleij , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [RESEND v7 7/7] pinctrl: qcom: Update clock voting as optional Date: Thu, 17 Feb 2022 11:27:47 +0530 Message-ID: <1645077467-6831-8-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1645077467-6831-1-git-send-email-quic_srivasam@quicinc.com> References: <1645077467-6831-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Update bulk clock voting to optional voting as ADSP bypass platform doesn't need macro and decodec clocks, these are maintained as power domains and operated from lpass audio core cc. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu --- drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c index 8a82fd9..30a86c3 100644 --- a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c +++ b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c @@ -407,7 +407,7 @@ int lpi_pinctrl_probe(struct platform_device *pdev) return dev_err_probe(dev, PTR_ERR(pctrl->slew_base), "Slew resource not provided\n"); - ret = devm_clk_bulk_get(dev, MAX_LPI_NUM_CLKS, pctrl->clks); + ret = devm_clk_bulk_get_optional(dev, MAX_LPI_NUM_CLKS, pctrl->clks); if (ret) return dev_err_probe(dev, ret, "Can't get clocks\n"); -- 2.7.4