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

Charles Keepax ckeepax at opensource.cirrus.com
Fri May 27 09:56:22 CEST 2022


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 at gmail.com>

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list