All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@kernel.org>
To: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io,
	Lukasz Majewski <lukma@denx.de>, Tom Rini <trini@konsulko.com>,
	Casey Connolly <casey.connolly@linaro.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	David Wronek <david.wronek@mainlining.org>,
	Jens Reidel <adrian@mainlining.org>,
	Luca Weiss <luca.weiss@fairphone.com>,
	Swathi Tamilselvan <swathi.tamilselvan@oss.qualcomm.com>,
	Aswin Murugan <aswin.murugan@oss.qualcomm.com>,
	Bhupesh Sharma <bhupesh.linux@gmail.com>,
	Neha Malcom Francis <n-francis@ti.com>,
	Julien Stephan <jstephan@baylibre.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>
Subject: Re: [PATCH v2 7/7] ufs: qcom: Remove redundant POST_CHANGE clock setup call
Date: Fri, 1 May 2026 13:17:48 +0530	[thread overview]
Message-ID: <afRapICPq2WZH2GE@sumit-xelite> (raw)
In-Reply-To: <20260427-ufs_clk-v2-7-36e10a7c0ef6@oss.qualcomm.com>

On Mon, Apr 27, 2026 at 02:56:11PM +0530, Balaji Selvanathan wrote:
> The ufs_qcom_init() function was calling ufs_qcom_setup_clocks() with
> POST_CHANGE twice. The first call after setting PA_TXHSADAPTTYPE
> correctly enables the device reference clock. The second call after
> ufs_qcom_advertise_quirks() is redundant as the clock is already
> enabled.
> 
> Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
> ---
> Changes in v2:
> - Newly added in v2
> ---
>  drivers/ufs/ufs-qcom.c | 1 -
>  1 file changed, 1 deletion(-)
>

Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>

-Sumit

> diff --git a/drivers/ufs/ufs-qcom.c b/drivers/ufs/ufs-qcom.c
> index ae33f62fbee..f5f5a6eb110 100644
> --- a/drivers/ufs/ufs-qcom.c
> +++ b/drivers/ufs/ufs-qcom.c
> @@ -605,7 +605,6 @@ static int ufs_qcom_init(struct ufs_hba *hba)
>  		 priv->hw_ver.step);
>  
>  	ufs_qcom_advertise_quirks(hba);
> -	ufs_qcom_setup_clocks(hba, true, POST_CHANGE);
>  
>  	return 0;
>  }
> 
> -- 
> 2.34.1
> 

  reply	other threads:[~2026-05-01  7:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-27  9:26 [PATCH v2 0/7] Add UFS clock support for Qualcomm SoCs Balaji Selvanathan
2026-04-27  9:26 ` [PATCH v2 1/7] clk: stub: Sort compatible strings alphabetically Balaji Selvanathan
2026-05-01  7:38   ` Sumit Garg
2026-04-27  9:26 ` [PATCH v2 2/7] clk: qcom: clk-stub: Add compatibles for QCS615/SA8775P Balaji Selvanathan
2026-05-01  7:39   ` Sumit Garg
2026-04-27  9:26 ` [PATCH v2 3/7] clk: qcom: sa8775p: Add UFS clock support Balaji Selvanathan
2026-04-27  9:26 ` [PATCH v2 4/7] clk: qcom: qcs615: " Balaji Selvanathan
2026-04-27  9:26 ` [PATCH v2 5/7] clk: qcom: sc7280: " Balaji Selvanathan
2026-04-27  9:26 ` [PATCH v2 6/7] drivers: ufs: qcom: Initialize and enable clocks before hardware access Balaji Selvanathan
2026-05-01  7:43   ` Sumit Garg
2026-05-04 11:07   ` Neha Malcom Francis
2026-05-05 12:58     ` Casey Connolly
2026-04-27  9:26 ` [PATCH v2 7/7] ufs: qcom: Remove redundant POST_CHANGE clock setup call Balaji Selvanathan
2026-05-01  7:47   ` Sumit Garg [this message]
2026-05-04 11:07   ` Neha Malcom Francis
2026-05-05 13:01 ` [PATCH v2 0/7] Add UFS clock support for Qualcomm SoCs Casey Connolly
2026-05-05 14:14 ` Casey Connolly
2026-05-22  6:58 ` Neha Malcom Francis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=afRapICPq2WZH2GE@sumit-xelite \
    --to=sumit.garg@kernel.org \
    --cc=adrian@mainlining.org \
    --cc=aswin.murugan@oss.qualcomm.com \
    --cc=balaji.selvanathan@oss.qualcomm.com \
    --cc=bhupesh.linux@gmail.com \
    --cc=casey.connolly@linaro.org \
    --cc=david.wronek@mainlining.org \
    --cc=jstephan@baylibre.com \
    --cc=luca.weiss@fairphone.com \
    --cc=lukma@denx.de \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=n-francis@ti.com \
    --cc=neil.armstrong@linaro.org \
    --cc=swathi.tamilselvan@oss.qualcomm.com \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.