From patchwork Fri Mar 3 09:28:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taniya Das X-Patchwork-Id: 63846 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp319112wrd; Fri, 3 Mar 2023 01:43:43 -0800 (PST) X-Google-Smtp-Source: AK7set9YRslmJaJ0DROK8201GzVonzBpwaztMPTS+Q/HpWyaFeOnxQN1QkdrCo9Q1K4bGlwGu9Ir X-Received: by 2002:a17:902:e882:b0:19d:1720:3873 with SMTP id w2-20020a170902e88200b0019d17203873mr1697687plg.57.1677836623024; Fri, 03 Mar 2023 01:43:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677836623; cv=none; d=google.com; s=arc-20160816; b=OiGmYvmPo0CflYxLBIIpGRdy08HlD8yWMzSBOA0YBoEwskrGHXJ/ddrMHBxV0d8uQB zO27CyrXYNv7ojvNkvcMwUOm2kPc5kOQrHamupNHXxbLyjDwqubD2IKsYGpRqkLxVwoE pE7QxOpkJ8TZELLhWZJyyTy6JJ0p3PPPAv59ka+4X3axrFvjmBbiDe//YQCZ5hENq13Q UXuerYOW1Gt6wYSNa9h9P25EJx+CxcN25r2sUOEynqwj4RPkIYmzmHQBLRVoO7wT+NoL mBMwTMSFl5/568qsE6MD0IEG/z6HKoN1CDjIZMpW0wFG/T8910DzIqkCKn5ZxNPf6XOQ FdKA== 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=rHbfoQH2ghWfXbymqzQac2pa2EdByPx/nTWxztKnuS8=; b=LIy3HdNfJ2G72bwW20aHmblHm8peoyzwmFocFNQP7XeEXTukznBZT4odooSj+lga9b y/iplTtSpaTnFPc98VpMSb79EkLLeOOYM45lZXp+0YHPePW8+WCNj5Xymq7uaZwHO6aS 7P4XoloD50B8trmuYvTBInNLSD07Y4EusYBROU/rVV2P4gGfhlwZ0F3oRaSJTfp1X04U dTTYGwnSiyfffWLvWFPArfASu4A+ahzkLDrMfui4hdwvAD2C6EEXbXDiUnvcAJijZq7u wpsEEifhHFRompfw8bZrAcIZasL624hM6eyOn1qUKwB7nHM60Dlz29Z80HZvLK1xY67k v9lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TaVMw5xr; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a170902c94200b00192721d6a97si2052232pla.499.2023.03.03.01.43.30; Fri, 03 Mar 2023 01:43:43 -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=qcppdkim1 header.b=TaVMw5xr; 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 S229562AbjCCJaY (ORCPT + 99 others); Fri, 3 Mar 2023 04:30:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231264AbjCCJaG (ORCPT ); Fri, 3 Mar 2023 04:30:06 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70C5461BF; Fri, 3 Mar 2023 01:29:55 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3237tHg7011277; Fri, 3 Mar 2023 09:29:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=rHbfoQH2ghWfXbymqzQac2pa2EdByPx/nTWxztKnuS8=; b=TaVMw5xrG1oAMAPMa1roYuwuPrBnT5mzy707eT6yyVAP9rby0PySCaoZQ3v9qaFz7JwU m4tERB8THSQe2B6wa3WKWJSEpGzgVw3IYgrx8wnbRIymIHLlwZwRE5IikPEtdQ6BjH6g t4q8BDSqWGMvl/ueeuLEWXLZGAsCEYE43KpsJ7TnaP1WOCErKaPx6LrRL8CjAsuimyEr nD9tS+elvTQqMGifOgkgB2KkVztRH8BnsI1c1YRCTHCHtC8lgDWA4siB7ryew1CCbcXF h4fXJp/vpwxmqytEXriTYoSspd4EzkCLqXSQt1ESak/8Uxp9s0Qch2MWKU/GxAIED9fO SQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p3bry8d2q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Mar 2023 09:29:46 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3239Tj9J003921 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 Mar 2023 09:29:45 GMT Received: from hu-tdas-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Fri, 3 Mar 2023 01:29:42 -0800 From: Taniya Das To: Andy Gross , Michael Turquette , Stephen Boyd CC: Bjorn Andersson , Konrad Dybcio , , , , Taniya Das Subject: [PATCH 2/2] clk: qcom: lpass: Initialize start_index Date: Fri, 3 Mar 2023 14:58:59 +0530 Message-ID: <20230303092859.22094-3-quic_tdas@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230303092859.22094-1-quic_tdas@quicinc.com> References: <20230303092859.22094-1-quic_tdas@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: -49Tm1k44S1rchx71VyQr6cPDCgqXb2J X-Proofpoint-ORIG-GUID: -49Tm1k44S1rchx71VyQr6cPDCgqXb2J X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-03_01,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 impostorscore=0 mlxlogscore=999 spamscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303030084 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759339214749297298?= X-GMAIL-MSGID: =?utf-8?q?1759339214749297298?= Initialize start_index for lpass_audio_cc_sc7280_desc to fix invalid index error. Signed-off-by: Taniya Das --- drivers/clk/qcom/lpassaudiocc-sc7280.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/lpassaudiocc-sc7280.c b/drivers/clk/qcom/lpassaudiocc-sc7280.c index 1339f9211a14..0567007da8bd 100644 --- a/drivers/clk/qcom/lpassaudiocc-sc7280.c +++ b/drivers/clk/qcom/lpassaudiocc-sc7280.c @@ -702,6 +702,7 @@ static const struct qcom_cc_desc lpass_audio_cc_sc7280_desc = { .config = &lpass_audio_cc_sc7280_regmap_config, .clks = lpass_audio_cc_sc7280_clocks, .num_clks = ARRAY_SIZE(lpass_audio_cc_sc7280_clocks), + .start_index = LPASS_AUDIO_CC_CDIV_RX_MCLK_DIV_CLK_SRC; }; static const struct qcom_reset_map lpass_audio_cc_sc7280_resets[] = {