Skip to content

Commit ea41a49

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda/cs8409: Initialize Codec only in init fixup.
It is not necessary to initialize the codec during both probe and inside the init fixup. Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Link: https://lore.kernel.org/r/20210827110252.5361-2-vitalyr@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 424e531 commit ea41a49

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

sound/pci/hda/patch_cs8409.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,6 @@ void cs8409_cs42l42_fixups(struct hda_codec *codec, const struct hda_fixup *fix,
10241024
&cs42l42_adc_volume_mixer);
10251025
/* Disable Unsolicited Response during boot */
10261026
cs8409_enable_ur(codec, 0);
1027-
cs8409_cs42l42_hw_init(codec);
10281027
snd_hda_codec_set_name(codec, "CS8409/CS42L42");
10291028
break;
10301029
case HDA_FIXUP_ACT_INIT:
@@ -1229,7 +1228,6 @@ void dolphin_fixups(struct hda_codec *codec, const struct hda_fixup *fix, int ac
12291228
kctrl->private_value = HDA_COMPOSE_AMP_VAL_OFS(DOLPHIN_HP_PIN_NID, 3, CS8409_CODEC1,
12301229
HDA_OUTPUT, CS42L42_VOL_DAC) | HDA_AMP_VAL_MIN_MUTE;
12311230
cs8409_enable_ur(codec, 0);
1232-
dolphin_hw_init(codec);
12331231
snd_hda_codec_set_name(codec, "CS8409/CS42L42");
12341232
break;
12351233
case HDA_FIXUP_ACT_INIT:

0 commit comments

Comments
 (0)