diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-10-17 18:25:38 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-17 18:34:18 +0200 |
commit | 2f0eaad91005b00e774a118595a573a9e0fd30fc (patch) | |
tree | fb82e28d94b6e1cb1095c3e5ba7485edae9ae2bd /sound/pci/hda/hda_codec.c | |
parent | ALSA: firewire-tascam: off by one in handle_midi_tx() (diff) | |
download | linux-2f0eaad91005b00e774a118595a573a9e0fd30fc.tar.xz linux-2f0eaad91005b00e774a118595a573a9e0fd30fc.zip |
ALSA: hda - Fix bogus codec address check for mixer name assignment
The recent commit [7fbe824a0f0e: ALSA: hda - Update mixer name for the
lower codec address] tried to improve the mixer chip name assignment
in the order of codec address. However, this fix was utterly bogus;
it checks the field set in each codec, thus this value is reset at
each codec creation, of course. For really handling this priority,
the assignment has to be remembered in the common place, namely in
hda_bus, instead of hda_codec.
Fixes: 7fbe824a0f0e ('ALSA: hda - Update mixer name for the lower codec address')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 0e55c6a6cc7e..2eeaf5ea20f9 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -851,7 +851,6 @@ int snd_hda_codec_new(struct hda_bus *bus, struct snd_card *card, INIT_DELAYED_WORK(&codec->jackpoll_work, hda_jackpoll_work); codec->depop_delay = -1; codec->fixup_id = HDA_FIXUP_ID_NOT_SET; - codec->mixer_assigned = -1; #ifdef CONFIG_PM codec->power_jiffies = jiffies; |