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 <[email protected]> Signed-off-by: Vitaly Rodionov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 424e531 commit ea41a49

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)