All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexis Lothoré" <alexis.lothore@bootlin.com>
To: "Ulf Hansson" <ulf.hansson@oss.qualcomm.com>,
	"Alexis Lothoré" <alexis.lothore@bootlin.com>
Cc: "Ulf Hansson" <ulfh@kernel.org>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Sebastian Reichel" <sebastian.reichel@collabora.com>,
	"Shawn Lin" <shawn.lin@rock-chips.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	<linux-pm@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-rockchip@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] pmdomain: rockchip: fix warning when deferring probe
Date: Thu, 26 Nov 2026 14:36:23 +0100	[thread overview]
Message-ID: <DN56L7R8OJ70.3FZ8Y1LD57SO@bootlin.com> (raw)
In-Reply-To: <CAPx+jO8+WAK+W8BVOSJVHoLEvQUUr0-d7gEEK+yNwhJH5skYUw@mail.gmail.com>

Hi Ulf,

On Thu Nov 26, 2026 at 1:43 PM CET, Ulf Hansson wrote:
> On Sun, Nov 22, 2026 at 2:38 PM Alexis Lothoré
> <alexis.lothore@bootlin.com> wrote:

[...]

>> Fixes: d8b384777066 ("pmdomain: rockchip: fix clock leak on domain probe failure")
>> Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
>
> I have already queued a patch for this at my fixes branch:
> c671660ea0af pmdomain: rockchip: Only put clocks that have been
> successfully obtained
>
> If that isn't sufficient, please re-spin the $subject patch.

I've searched lore before posting my patch, but not well enough
apparently ;) Sorry for the noise then.

Alexis


>
> Kind regards
> Uffe
>
>> ---
>>  drivers/pmdomain/rockchip/pm-domains.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/pmdomain/rockchip/pm-domains.c b/drivers/pmdomain/rockchip/pm-domains.c
>> index e193f978d5f3..adc3bebcd928 100644
>> --- a/drivers/pmdomain/rockchip/pm-domains.c
>> +++ b/drivers/pmdomain/rockchip/pm-domains.c
>> @@ -854,6 +854,7 @@ static int rockchip_pm_add_one_domain(struct rockchip_pmu *pmu,
>>                         dev_err(pmu->dev,
>>                                 "%pOFn: failed to get clk at index %d: %d\n",
>>                                 node, i, error);
>> +                       pd->num_clks = i;
>>                         goto err_put_clocks;
>>                 }
>>         }
>>
>> ---
>> base-commit: 988117cc1bb17338c586a4e21ade88b5397eac33
>> change-id: 20261122-rockchip-pm-defer-adb33313f110
>>
>> Best regards,
>> --
>> Alexis Lothoré <alexis.lothore@bootlin.com>
>>





-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



WARNING: multiple messages have this Message-ID (diff)
From: "Alexis Lothoré" <alexis.lothore@bootlin.com>
To: "Ulf Hansson" <ulf.hansson@oss.qualcomm.com>,
	"Alexis Lothoré" <alexis.lothore@bootlin.com>
Cc: "Ulf Hansson" <ulfh@kernel.org>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Sebastian Reichel" <sebastian.reichel@collabora.com>,
	"Shawn Lin" <shawn.lin@rock-chips.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	<linux-pm@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-rockchip@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] pmdomain: rockchip: fix warning when deferring probe
Date: Thu, 26 Nov 2026 14:36:23 +0100	[thread overview]
Message-ID: <DN56L7R8OJ70.3FZ8Y1LD57SO@bootlin.com> (raw)
In-Reply-To: <CAPx+jO8+WAK+W8BVOSJVHoLEvQUUr0-d7gEEK+yNwhJH5skYUw@mail.gmail.com>

Hi Ulf,

On Thu Nov 26, 2026 at 1:43 PM CET, Ulf Hansson wrote:
> On Sun, Nov 22, 2026 at 2:38 PM Alexis Lothoré
> <alexis.lothore@bootlin.com> wrote:

[...]

>> Fixes: d8b384777066 ("pmdomain: rockchip: fix clock leak on domain probe failure")
>> Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
>
> I have already queued a patch for this at my fixes branch:
> c671660ea0af pmdomain: rockchip: Only put clocks that have been
> successfully obtained
>
> If that isn't sufficient, please re-spin the $subject patch.

I've searched lore before posting my patch, but not well enough
apparently ;) Sorry for the noise then.

Alexis


>
> Kind regards
> Uffe
>
>> ---
>>  drivers/pmdomain/rockchip/pm-domains.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/pmdomain/rockchip/pm-domains.c b/drivers/pmdomain/rockchip/pm-domains.c
>> index e193f978d5f3..adc3bebcd928 100644
>> --- a/drivers/pmdomain/rockchip/pm-domains.c
>> +++ b/drivers/pmdomain/rockchip/pm-domains.c
>> @@ -854,6 +854,7 @@ static int rockchip_pm_add_one_domain(struct rockchip_pmu *pmu,
>>                         dev_err(pmu->dev,
>>                                 "%pOFn: failed to get clk at index %d: %d\n",
>>                                 node, i, error);
>> +                       pd->num_clks = i;
>>                         goto err_put_clocks;
>>                 }
>>         }
>>
>> ---
>> base-commit: 988117cc1bb17338c586a4e21ade88b5397eac33
>> change-id: 20261122-rockchip-pm-defer-adb33313f110
>>
>> Best regards,
>> --
>> Alexis Lothoré <alexis.lothore@bootlin.com>
>>





-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2026-11-26 13:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 13:37 [PATCH] pmdomain: rockchip: fix warning when deferring probe Alexis Lothoré
2026-11-22 13:37 ` Alexis Lothoré
2026-11-26 12:43 ` Ulf Hansson
2026-11-26 12:43   ` Ulf Hansson
2026-11-26 13:36   ` Alexis Lothoré [this message]
2026-11-26 13:36     ` Alexis Lothoré

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=DN56L7R8OJ70.3FZ8Y1LD57SO@bootlin.com \
    --to=alexis.lothore@bootlin.com \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=shawn.lin@rock-chips.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=ulf.hansson@oss.qualcomm.com \
    --cc=ulfh@kernel.org \
    /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.