]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda: cs35l56: Fix lifecycle of codec pointer
authorSimon Trimmer <simont@opensource.cirrus.com>
Fri, 31 May 2024 11:27:16 +0000 (12:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 May 2024 12:38:29 +0000 (14:38 +0200)
commitd339131bf02d4ed918415574082caf5e8af6e664
tree484cc0d0acda8677e22a263e2beb270f47ad0d5f
parent310fa3ec2859f1c094e6e9b5d2e1ca51738c409a
ALSA: hda: cs35l56: Fix lifecycle of codec pointer

The codec should be cleared when the amp driver is unbound and when
resuming it should be tested to prevent loading firmware into the device
and ALSA in a partially configured system state.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240531112716.25323-1-simont@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l56_hda.c