Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3473211pxp; Tue, 8 Mar 2022 15:22:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkUIg3nr3waHpXyBfFwu/Wky0Wo53Mo+ZhiHw9ACXMHKaKP9q6z6AmY1rBFsAopPAhzb5r X-Received: by 2002:a05:6a00:3011:b0:4f6:dca6:ece1 with SMTP id ay17-20020a056a00301100b004f6dca6ece1mr18274939pfb.75.1646781723721; Tue, 08 Mar 2022 15:22:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646781723; cv=none; d=google.com; s=arc-20160816; b=N7clbZEE+UsoxUhy8LOiIJAyb2HSS/T2yHE7vXgzxBNz9d6sVA+XBiaWH9Sg5l2lmC r1SnMhyZKftgzSrWh9ZDtXWiBn7KWzZW3Gj1KNC1bP+4zsDAm/aLjkQRV7xkB2TtMd8H 2yUjbYeOXsM0Da8gBW7JueTDCpK9kGSFNvHBSdTF0jVO82uItG3Th7S3A7amvXarL2A9 Dhr82T4ND5wL2ICj9Km/NX2RBrSI+Ebin67k0KwkAPfZtZFuF2Ah5jV1kJrwbSMFUcRV 72q95tVzqUUmz6Gy++rKzkPLHAzNBnfr79tj8cDCezXLb6uGhs/oGwuqB+Hf2GRPozlU 2ywA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LWBHo8zyRbtdgwtvZ69Wg4Ge808fFLN2tC6X5Zn9ZkA=; b=P+jsieV5PE0Xa9cOqCBxOhq7bji88tu/VxRyjdCmp9Rzl7A/qgTNti1Bd33bidl0bQ 2GBl3+RS5fp9tzz1SBEPdiYdVrtmZK0eLbXQthueexiXSDmUJRiGGixdI9jbW/n/s6bE EpRDpJWAsMJvYFrBQc6un4zkkwu04AANKhfaaWr5Ktyuk4TMbtY+h8fTCIPcMBqty3j0 wlWj9bUFheCoyKtpgyAEQrWqtLEF+dCyWJKSxPdjRy14hWR5J5WzYE5dtMfDCXyyBUme j1kYVLdrLcHg+tjCSsJ4H8lCawUkq8s9bmlsqAeNAn9EXyW/axBXOQCAs/76ZMP3kYkq FiNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aDCxkrA6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j19-20020a635953000000b003746eb9826fsi202256pgm.99.2022.03.08.15.22.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 15:22:03 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aDCxkrA6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6570A818AC; Tue, 8 Mar 2022 15:14:08 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349231AbiCHRp1 (ORCPT + 99 others); Tue, 8 Mar 2022 12:45:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346747AbiCHRpZ (ORCPT ); Tue, 8 Mar 2022 12:45:25 -0500 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D7C6532F4 for ; Tue, 8 Mar 2022 09:44:28 -0800 (PST) Received: by mail-oi1-x234.google.com with SMTP id n7so9889011oif.5 for ; Tue, 08 Mar 2022 09:44:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LWBHo8zyRbtdgwtvZ69Wg4Ge808fFLN2tC6X5Zn9ZkA=; b=aDCxkrA6yFPydxBcxmDwIW0PjIDqrTBzHkAdiRd9zZtESMHM6/XNtBZ2HVZV1HjtZr iu/5YMOzeJBcov436XH1FbQ6ShbJGMgIeiTEI8Hg6WPEAII6pCfcLL695yjiR2WoZSBe PmK5cwoG3mPRN/vBYNW7DTw8YI/Xc0AGHfHA7wpaqcVQzeUNMxbkYViIjoyH8cliUXz0 IpIpyGWV6eN0YYbxtq2bmhmlbfsgterUKbHbYPPWCK9Ryl8+5/2Ss9JTibdIxOcT1hQy jXZ3Om/LFm+g95bwfVQ8DhdPDr/3VwR/NY35q/FymjdgvjUtSWp11xARAQHlwrjP113c OcLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LWBHo8zyRbtdgwtvZ69Wg4Ge808fFLN2tC6X5Zn9ZkA=; b=4qSA6kVd46b92qVY56WgyEK2JrJqLLxHTr6t5cU08fXG1qGcY7QFqKiakg+9WUVCc3 a23soqUiITdChwuT5OmSAZcsmDMKp1PogpbT+OyUaRmNI2Lpkfa5h4HCpuuMXm1Cw3yj NS0faQ6xqPRHv2Da3PM4Dm8GSgiChhlAgE1KVhXciCF3bDDAkvWsmtFvTW2MWampBypi tk0FmZbGdIMPFtCfMW9nEaiDmrjSYsKh3k0cSleM2g2gF/zJnkFC6zjBlTDgmu6wcO/W 1AbZrqNphVzaEsNz8YY9GpqvNDG4oyjAUaqCDmtvhJF3kpzo0bmvQYA/RjrXevFCgwwr yo9g== X-Gm-Message-State: AOAM531Zg/a7N767HiJl1JyYTYzfG7BdMWr5iE3h0lwNYWDp1MeyWvjp nQoZdlo9SCJuXr7p+YxAwpq0mA== X-Received: by 2002:a05:6808:10c8:b0:2d4:a070:d20b with SMTP id s8-20020a05680810c800b002d4a070d20bmr3370323ois.88.1646761467535; Tue, 08 Mar 2022 09:44:27 -0800 (PST) Received: from ripper ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id r4-20020a9d5cc4000000b005af6f4ff5e2sm7982132oti.61.2022.03.08.09.44.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 09:44:27 -0800 (PST) Date: Tue, 8 Mar 2022 09:46:10 -0800 From: Bjorn Andersson To: Srinivasa Rao Mandadapu Cc: agross@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, Linus Walleij , linux-gpio@vger.kernel.org, Venkata Prasad Potturu Subject: Re: [PATCH v10 3/7] pinctrl: qcom: Update macro name to LPI specific Message-ID: References: <1646737394-4740-1-git-send-email-quic_srivasam@quicinc.com> <1646737394-4740-4-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1646737394-4740-4-git-send-email-quic_srivasam@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue 08 Mar 03:03 PST 2022, Srinivasa Rao Mandadapu wrote: > Update NO_SLEW macro to LPI_NO_SLEW macro as this driver lpi specific. > > Signed-off-by: Srinivasa Rao Mandadapu > Co-developed-by: Venkata Prasad Potturu > Signed-off-by: Venkata Prasad Potturu > Reviewed-by: Stephen Boyd Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c > index 2f19ab4..3c15f80 100644 > --- a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c > +++ b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c > @@ -40,7 +40,7 @@ > #define LPI_GPIO_KEEPER 0x2 > #define LPI_GPIO_PULL_UP 0x3 > #define LPI_GPIO_DS_TO_VAL(v) (v / 2 - 1) > -#define NO_SLEW -1 > +#define LPI_NO_SLEW -1 > > #define LPI_FUNCTION(fname) \ > [LPI_MUX_##fname] = { \ > @@ -193,14 +193,14 @@ static const struct lpi_pingroup sm8250_groups[] = { > LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), > LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), > LPI_PINGROUP(5, 12, swr_tx_data, swr_rx_data, _, _), > - LPI_PINGROUP(6, NO_SLEW, dmic1_clk, i2s1_clk, _, _), > - LPI_PINGROUP(7, NO_SLEW, dmic1_data, i2s1_ws, _, _), > - LPI_PINGROUP(8, NO_SLEW, dmic2_clk, i2s1_data, _, _), > - LPI_PINGROUP(9, NO_SLEW, dmic2_data, i2s1_data, _, _), > + LPI_PINGROUP(6, LPI_NO_SLEW, dmic1_clk, i2s1_clk, _, _), > + LPI_PINGROUP(7, LPI_NO_SLEW, dmic1_data, i2s1_ws, _, _), > + LPI_PINGROUP(8, LPI_NO_SLEW, dmic2_clk, i2s1_data, _, _), > + LPI_PINGROUP(9, LPI_NO_SLEW, dmic2_data, i2s1_data, _, _), > LPI_PINGROUP(10, 16, i2s2_clk, wsa_swr_clk, _, _), > LPI_PINGROUP(11, 18, i2s2_ws, wsa_swr_data, _, _), > - LPI_PINGROUP(12, NO_SLEW, dmic3_clk, i2s2_data, _, _), > - LPI_PINGROUP(13, NO_SLEW, dmic3_data, i2s2_data, _, _), > + LPI_PINGROUP(12, LPI_NO_SLEW, dmic3_clk, i2s2_data, _, _), > + LPI_PINGROUP(13, LPI_NO_SLEW, dmic3_data, i2s2_data, _, _), > }; > > static const struct lpi_function sm8250_functions[] = { > @@ -435,7 +435,7 @@ static int lpi_config_set(struct pinctrl_dev *pctldev, unsigned int group, > } > > slew_offset = g->slew_offset; > - if (slew_offset == NO_SLEW) > + if (slew_offset == LPI_NO_SLEW) > break; > > mutex_lock(&pctrl->slew_access_lock); > -- > 2.7.4 >