mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-25 22:26:40 +00:00
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: kbuild test robot <fengguang.wu@intel.com> Fixes: 9a34af4a3327 ('ALSA: hda - Move more PCI-controller-specific stuff from generic code') Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e2ff8406ad
commit
178942b69f
@ -453,7 +453,6 @@ static int hda_tegra_create(struct snd_card *card,
|
||||
chip->driver_type = driver_caps & 0xff;
|
||||
chip->dev_index = 0;
|
||||
INIT_LIST_HEAD(&chip->pcm_list);
|
||||
INIT_LIST_HEAD(&chip->list);
|
||||
|
||||
chip->codec_probe_mask = -1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user