Linux clock framework development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Krishna Kurapati" <krishna.kurapati@oss.qualcomm.com>
Cc: linux-clk@vger.kernel.org
Subject: Re: [PATCH v2] clk: qcom: negcc-nord: Register set_hwmode_dev callback for USB GDSCs
Date: Fri, 04 Dec 2026 19:22:55 +0000	[thread overview]
Message-ID: <sashiko-outbox-250532@kernel.org> (raw)
In-Reply-To: <20261205-nord-usb-gdscs-v2-1-a7902fa88247@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] clk: qcom: negcc-nord build fails on undeclared
  gdsc_set_hw_stay_on
--

commit 8b0e5b62a8bff4c0548c4f7bb1c32c4724fbe988
Author: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

clk: qcom: negcc-nord: Register set_hwmode_dev callback for USB GDSCs

This commit registers gdsc_set_hw_stay_on as the set_hwmode_dev callback
for the five USB GDSCs in the Nord NEGCC driver.

> diff --git a/drivers/clk/qcom/negcc-nord.c b/drivers/clk/qcom/negcc-nord.c
> index 68ce4d6278baa..8f6a8cc8edc71 100644
> --- a/drivers/clk/qcom/negcc-nord.c
> +++ b/drivers/clk/qcom/negcc-nord.c
> @@ -1706,6 +1706,7 @@ static struct gdsc ne_gcc_usb20_prim_gdsc = {
>  	.clk_dis_wait_val = 0xf,
>  	.pd = {
>  		.name = "ne_gcc_usb20_prim_gdsc",
> +		.set_hwmode_dev = gdsc_set_hw_stay_on,
>  	},
>  	.pwrsts = PWRSTS_OFF_ON,
>  	.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,

[Severity: High]
Does this break compilation of drivers/clk/qcom/negcc-nord.c?

gdsc_set_hw_stay_on is neither declared in drivers/clk/qcom/gdsc.h nor
defined anywhere in the tree, so assigning it to all five USB GDSCs here
fails the build whenever CONFIG_CLK_NORD_GCC is enabled (the default on
ARCH_QCOM and under COMPILE_TEST).

The prerequisite series referenced in the patch notes that introduces
gdsc_set_hw_stay_on does not appear to be in the base tree yet.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261205-nord-usb-gdscs-v2-1-a7902fa88247@oss.qualcomm.com?part=1

      reply	other threads:[~2026-12-04 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 19:07 [PATCH v2] clk: qcom: negcc-nord: Register set_hwmode_dev callback for USB GDSCs Krishna Kurapati
2026-12-04 19:22 ` sashiko-bot [this message]

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=sashiko-outbox-250532@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=krishna.kurapati@oss.qualcomm.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox