ASoC: cs35l56: Call pm_runtime_dont_use_autosuspend()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 8 Sep 2023 10:17:16 +0000 (11:17 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:23:53 +0000 (01:23 +0100)
commitec03804552e9a723569e14d2512f36a8e70dc640
tree04827aff05a456854f83a8ddae68f848e8fc47a1
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
ASoC: cs35l56: Call pm_runtime_dont_use_autosuspend()

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().

THIS WON'T APPLY CLEANLY TO V6.5 AND EARLIER:
We will send a separate backported patch to stable.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230908101716.2658582-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c