ALSA: hda: cs35l41: Support System Suspend
authorStefan Binding <sbinding@opensource.cirrus.com>
Tue, 11 Oct 2022 14:35:52 +0000 (15:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Oct 2022 06:02:49 +0000 (08:02 +0200)
commit88672826e2a465d2f4c0a50fb5ced2956f4ffcbc
treea9e6f1d8281938ddb98d4081a08b8a96b4a0bf07
parent23904f7b2518e9b6bbfe2ac7bbe9e284bcdda18e
ALSA: hda: cs35l41: Support System Suspend

Add support for system suspend into the CS35L41 HDA Driver.
Since S4 suspend may power off the system, it is required
that the driver ensure the part is safe to be shutdown before
system suspend, as well as ensuring that the firmware is
unloaded before shutdown. The part must then be restored
on system resume, including re-downloading the firmware.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221011143552.621792-6-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda.c