WM8962 crashing on suspend
Mark Brown
broonie at kernel.org
Wed Apr 27 15:21:26 CEST 2022
On Wed, Apr 27, 2022 at 08:12:56AM -0500, Adam Ford wrote:
> I found this:
> static const struct dev_pm_ops wm8962_pm = {
> + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
> SET_RUNTIME_PM_OPS(wm8962_runtime_suspend, wm8962_runtime_resume, NULL)
> };
> I applied this, and it appears to make the issue go away on a 5.15
> kernel. I haven't tried it on a 5.18 yet. If this fixes the issue,
> would that be an acceptable solution to push upstream?
Yes, that's fine - it's fixing the thing I was pointing out with only
having runtime suspend but no system suspend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220427/60dfac58/attachment.sig>
More information about the Alsa-devel
mailing list