Re: [PATCH] ASoC: wm8962: Fix suspend while playing music

From: Charles Keepax
Date: Fri May 27 2022 - 03:57:56 EST


On Thu, May 26, 2022 at 01:21:28PM -0500, Adam Ford wrote:
> If the audio CODEC is playing sound when the system is suspended,
> it can be left in a state which throws the following error:
>
> wm8962 3-001a: ASoC: error at soc_component_read_no_lock on wm8962.3-001a: -16
>
> Once this error has occurred, the audio will not work again until rebooted.
>
> Fix this by configuring SET_SYSTEM_SLEEP_PM_OPS.
>
> Signed-off-by: Adam Ford <aford173@xxxxxxxxx>

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles