aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-05-12 15:10:38 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-12 15:10:38 -0400
commitdeac8429d62ca19c1571853e2a18f60e760ee04c (patch)
treeb879b44c5ad802aff1618a07854ea7dca25cb40e
parent6b402bdfdbafce241cb6789ae38d94f45641078c (diff)
parent31cbee6a5611f07d2d66f55bb6f8648db5947e32 (diff)
Merge tag 'sound-fix-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "This contains a one-liner change that has a significant impact: disabling the build of OSS. It's been unmaintained for long time, and we'd like to drop the stuff. Finally, as the first step, stop the build. Let's see whether it works without much complaints. Other than that, there are two small fixes for HD-audio" * tag 'sound-fix-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: sound: Disable the build of OSS drivers ALSA: hda: Fix cpu lockup when stopping the cmd dmas ALSA: hda - Add mute led support for HP EliteBook 840 G3
-rw-r--r--sound/Kconfig1
-rw-r--r--sound/hda/hdac_controller.c4
-rw-r--r--sound/pci/hda/patch_conexant.c4
3 files changed, 8 insertions, 1 deletions
diff --git a/sound/Kconfig b/sound/Kconfig
index ee2e69a9ecd1..6a215a8c0490 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -115,6 +115,7 @@ endif # SND
115menuconfig SOUND_PRIME 115menuconfig SOUND_PRIME
116 tristate "Open Sound System (DEPRECATED)" 116 tristate "Open Sound System (DEPRECATED)"
117 select SOUND_OSS_CORE 117 select SOUND_OSS_CORE
118 depends on BROKEN
118 help 119 help
119 Say 'Y' or 'M' to enable Open Sound System drivers. 120 Say 'Y' or 'M' to enable Open Sound System drivers.
120 121
diff --git a/sound/hda/hdac_controller.c b/sound/hda/hdac_controller.c
index ee08c389b4d6..978dc1801b3a 100644
--- a/sound/hda/hdac_controller.c
+++ b/sound/hda/hdac_controller.c
@@ -106,7 +106,11 @@ void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus)
106 /* disable ringbuffer DMAs */ 106 /* disable ringbuffer DMAs */
107 snd_hdac_chip_writeb(bus, RIRBCTL, 0); 107 snd_hdac_chip_writeb(bus, RIRBCTL, 0);
108 snd_hdac_chip_writeb(bus, CORBCTL, 0); 108 snd_hdac_chip_writeb(bus, CORBCTL, 0);
109 spin_unlock_irq(&bus->reg_lock);
110
109 hdac_wait_for_cmd_dmas(bus); 111 hdac_wait_for_cmd_dmas(bus);
112
113 spin_lock_irq(&bus->reg_lock);
110 /* disable unsolicited responses */ 114 /* disable unsolicited responses */
111 snd_hdac_chip_updatel(bus, GCTL, AZX_GCTL_UNSOL, 0); 115 snd_hdac_chip_updatel(bus, GCTL, AZX_GCTL_UNSOL, 0);
112 spin_unlock_irq(&bus->reg_lock); 116 spin_unlock_irq(&bus->reg_lock);
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index e8253737c47a..63bc894ddf5e 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -860,7 +860,9 @@ static const struct hda_fixup cxt_fixups[] = {
860 { 0x16, 0x21011020 }, /* line-out */ 860 { 0x16, 0x21011020 }, /* line-out */
861 { 0x18, 0x2181103f }, /* line-in */ 861 { 0x18, 0x2181103f }, /* line-in */
862 { } 862 { }
863 } 863 },
864 .chained = true,
865 .chain_id = CXT_FIXUP_MUTE_LED_GPIO,
864 }, 866 },
865 [CXT_FIXUP_HP_SPECTRE] = { 867 [CXT_FIXUP_HP_SPECTRE] = {
866 .type = HDA_FIXUP_PINS, 868 .type = HDA_FIXUP_PINS,