]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26ca12e7a63599b6cdb5f824593321d41ae1d938
treea9e6f1d8281938ddb98d4081a08b8a96b4a0bf07
parent1be6c276e07e23655c5e3036c8e76d2a1878d7dc
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