diff options
Diffstat (limited to 'sound/hda')
-rw-r--r-- | sound/hda/ext/hdac_ext_bus.c | 2 | ||||
-rw-r--r-- | sound/hda/hdac_bus.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sound/hda/ext/hdac_ext_bus.c b/sound/hda/ext/hdac_ext_bus.c index ec7715c6b0c0..c203af71a099 100644 --- a/sound/hda/ext/hdac_ext_bus.c +++ b/sound/hda/ext/hdac_ext_bus.c | |||
@@ -104,9 +104,7 @@ int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev, | |||
104 | return ret; | 104 | return ret; |
105 | 105 | ||
106 | bus->ext_ops = ext_ops; | 106 | bus->ext_ops = ext_ops; |
107 | INIT_LIST_HEAD(&bus->hlink_list); | ||
108 | bus->idx = idx++; | 107 | bus->idx = idx++; |
109 | |||
110 | bus->cmd_dma_state = true; | 108 | bus->cmd_dma_state = true; |
111 | 109 | ||
112 | return 0; | 110 | return 0; |
diff --git a/sound/hda/hdac_bus.c b/sound/hda/hdac_bus.c index ad8eee08013f..10e5d261fde1 100644 --- a/sound/hda/hdac_bus.c +++ b/sound/hda/hdac_bus.c | |||
@@ -39,6 +39,7 @@ int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, | |||
39 | spin_lock_init(&bus->reg_lock); | 39 | spin_lock_init(&bus->reg_lock); |
40 | mutex_init(&bus->cmd_mutex); | 40 | mutex_init(&bus->cmd_mutex); |
41 | mutex_init(&bus->lock); | 41 | mutex_init(&bus->lock); |
42 | INIT_LIST_HEAD(&bus->hlink_list); | ||
42 | bus->irq = -1; | 43 | bus->irq = -1; |
43 | return 0; | 44 | return 0; |
44 | } | 45 | } |