3 Oct
2023
3 Oct
'23
4:49 p.m.
On Mon, Oct 02, 2023 at 01:50:59PM +0100, Richard Fitzgerald wrote:
commit ec03804552e9a723569e14d2512f36a8e70dc640 upstream
Driver remove() must call pm_runtime_dont_use_autosuspend().
Drivers that call pm_runtime_use_autosuspend() must disable it in driver remove(). Unfortunately until recently this was only mentioned in 1 line in a 900+ line document so most people hadn't noticed this. It has only recently been added to the kerneldoc of pm_runtime_use_autosuspend().
Backport note: This is the same change as the upstream commit but the cs35l56->base.dev argument in the upstream code is cs35l56->dev in older releases.
Queued up, thanks!
--
Thanks,
Sasha