ALSA: hda: cs35l41: Run boot process during resume callbacks
authorStefan Binding <sbinding@opensource.cirrus.com>
Thu, 26 Oct 2023 15:05:54 +0000 (16:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Oct 2023 15:55:19 +0000 (17:55 +0200)
commit881b7bce0c250386680b49b637455d31238a4b30
tree7b105150affba214c470f3bdea8cf753798bbf4e
parentfff393db71c1d53a13f9eb2f8da77c1f5e4e30bc
ALSA: hda: cs35l41: Run boot process during resume callbacks

During initial probe, after reset is asserted for the first time, the
driver goes through a boot process to ensure the amp is ready to be
used. This involves verifying a boot flag, as well as verifying the
chip ids.

This is necessary since it is possible for the amp to have been fully
reset by the system suspend calls.

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