All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Crofts <crofts@kernel.org>
To: "Uwe Kleine-König" <ukleinek@kernel.org>
Cc: ed.blake@sondrel.com, lgs201920130244@gmail.com,
	linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org,
	rafael@kernel.org, stable@vger.kernel.org,
	thierry.reding@gmail.com
Subject: Re: [PATCH] pwm: img: stop using autosuspend on remove
Date: Mon, 30 Nov 2026 14:41:32 +0100	[thread overview]
Message-ID: <61c93bae-3888-46a5-a101-8bc613ca88c1@kernel.org> (raw)
In-Reply-To: <aw16bD19cfr4Z2Ch@monoceros>

On 30-Nov-26 14:31, Uwe Kleine-König wrote: 
>> >  	pm_runtime_disable(&pdev->dev);
>> > +	pm_runtime_dont_use_autosuspend(&pdev->dev);
>> 
>> No need to add this as I added a change [1] that causes dont_use_autosuspend() to
>> be called on driver exit.
>> 
>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d1706f9da9f40dffe8621cc0ee03b847f41f1d6d
> 
> That sounds like the right thing to do. So I guess this patch can be
> replaced by one that drops pm_runtime_dont_use_autosuspend() from
> img_pwm_probe() then.
Correct. I've been sending series gradually to different subsystems but the
process has been slow; there are a few non-trivial cases of dont_use_autosuspend()
use that make it harder to remove.

I can send a quick patch to PWM removing it though, this is a trivial case.

-- 
Kind regards,
Joshua Crofts

      reply	other threads:[~2026-11-30 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18  3:30 [PATCH] pwm: img: stop using autosuspend on remove Guangshuo Li
2026-11-30 11:44 ` Uwe Kleine-König
2026-11-30 12:33   ` Joshua Crofts
2026-11-30 13:31     ` Uwe Kleine-König
2026-11-30 13:41       ` Joshua Crofts [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=61c93bae-3888-46a5-a101-8bc613ca88c1@kernel.org \
    --to=crofts@kernel.org \
    --cc=ed.blake@sondrel.com \
    --cc=lgs201920130244@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=ukleinek@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.