hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/sound/soc/intel/skylake/skl.c
....@@ -439,7 +439,7 @@
439439
440440 skl->init_done = 0; /* to be sure */
441441
442
- snd_hdac_ext_stop_streams(bus);
442
+ snd_hdac_stop_streams_and_chip(bus);
443443
444444 if (bus->irq >= 0)
445445 free_irq(bus->irq, (void *)bus);
....@@ -1100,7 +1100,10 @@
11001100 if (!skl->init_done)
11011101 return;
11021102
1103
- snd_hdac_ext_stop_streams(bus);
1103
+ snd_hdac_stop_streams(bus);
1104
+ snd_hdac_ext_bus_link_power_down_all(bus);
1105
+ skl_dsp_sleep(skl->dsp);
1106
+
11041107 list_for_each_entry(s, &bus->stream_list, list) {
11051108 stream = stream_to_hdac_ext_stream(s);
11061109 snd_hdac_ext_stream_decouple(bus, stream, false);