mirror of https://gitee.com/openkylin/linux.git
ALSA: hda/ca0132: Restore behavior of QUIRK_ALIENWARE
Commite93ac30a32
(ALSA: HDA/ca0132: add extra init functions for r3di + sbz) introduced an extra initialization function that was improperly guarded, taking effect on systems with QUIRK_ALIENWARE, even though such systems were supposedly not affected. It may be that this piece of initialization should be done for all systems, but that's not a call that I can make. Fixes:e93ac30a32
("ALSA: HDA/ca0132: add extra init functions for r3di + sbz") Signed-off-by: Alastair Bridgewater <alastair.bridgewater@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a3d90d6775
commit
365c7f25cd
|
@ -7223,7 +7223,7 @@ static int ca0132_init(struct hda_codec *codec)
|
|||
|
||||
snd_hda_sequence_write(codec, spec->base_init_verbs);
|
||||
|
||||
if (spec->quirk != QUIRK_NONE)
|
||||
if (spec->use_alt_functions)
|
||||
ca0132_alt_init(codec);
|
||||
|
||||
ca0132_download_dsp(codec);
|
||||
|
|
Loading…
Reference in New Issue