Commit 178942b6 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Fix build error in hda_tegra.c

The "list" field has been omitted from struct azx, but its
initialization remained mistakenly in hda_tegra.c, which leads to a
compile error:
   sound/pci/hda/hda_tegra.c: In function 'hda_tegra_create':
   sound/pci/hda/hda_tegra.c:481:22: error: 'struct azx' has no member
named 'list'
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Fixes: 9a34af4a ('ALSA: hda - Move more PCI-controller-specific stuff from generic code')
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e2ff8406
...@@ -453,7 +453,6 @@ static int hda_tegra_create(struct snd_card *card, ...@@ -453,7 +453,6 @@ static int hda_tegra_create(struct snd_card *card,
chip->driver_type = driver_caps & 0xff; chip->driver_type = driver_caps & 0xff;
chip->dev_index = 0; chip->dev_index = 0;
INIT_LIST_HEAD(&chip->pcm_list); INIT_LIST_HEAD(&chip->pcm_list);
INIT_LIST_HEAD(&chip->list);
chip->codec_probe_mask = -1; chip->codec_probe_mask = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment