Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-linus' into for-next

+50 -2
+12
include/sound/soc-topology.h
··· 141 141 int io_ops_count; 142 142 }; 143 143 144 + #ifdef CONFIG_SND_SOC_TOPOLOGY 145 + 144 146 /* gets a pointer to data from the firmware block header */ 145 147 static inline const void *snd_soc_tplg_get_data(struct snd_soc_tplg_hdr *hdr) 146 148 { ··· 166 164 int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w, 167 165 const struct snd_soc_tplg_widget_events *events, int num_events, 168 166 u16 event_type); 167 + 168 + #else 169 + 170 + static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp, 171 + u32 index) 172 + { 173 + return 0; 174 + } 175 + 176 + #endif 169 177 170 178 #endif
+6
include/uapi/sound/asoc.h
··· 18 18 #include <linux/types.h> 19 19 #include <sound/asound.h> 20 20 21 + #ifndef __KERNEL__ 22 + #error This API is an early revision and not enabled in the current 23 + #error kernel release, it will be enabled in a future kernel version 24 + #error with incompatible changes to what is here. 25 + #endif 26 + 21 27 /* 22 28 * Maximum number of channels topology kcontrol can represent. 23 29 */
+22 -1
sound/pci/hda/patch_conexant.c
··· 200 200 return 0; 201 201 } 202 202 203 - #define cx_auto_free snd_hda_gen_free 203 + static void cx_auto_reboot_notify(struct hda_codec *codec) 204 + { 205 + struct conexant_spec *spec = codec->spec; 206 + 207 + if (codec->core.vendor_id != 0x14f150f2) 208 + return; 209 + 210 + /* Turn the CX20722 codec into D3 to avoid spurious noises 211 + from the internal speaker during (and after) reboot */ 212 + cx_auto_turn_eapd(codec, spec->num_eapds, spec->eapds, false); 213 + 214 + snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3); 215 + snd_hda_codec_write(codec, codec->core.afg, 0, 216 + AC_VERB_SET_POWER_STATE, AC_PWRST_D3); 217 + } 218 + 219 + static void cx_auto_free(struct hda_codec *codec) 220 + { 221 + cx_auto_reboot_notify(codec); 222 + snd_hda_gen_free(codec); 223 + } 204 224 205 225 static const struct hda_codec_ops cx_auto_patch_ops = { 206 226 .build_controls = cx_auto_build_controls, 207 227 .build_pcms = snd_hda_gen_build_pcms, 208 228 .init = cx_auto_init, 229 + .reboot_notify = cx_auto_reboot_notify, 209 230 .free = cx_auto_free, 210 231 .unsol_event = snd_hda_jack_unsol_event, 211 232 #ifdef CONFIG_PM
+2
sound/pci/hda/patch_realtek.c
··· 5190 5190 SND_PCI_QUIRK(0x1028, 0x06d9, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), 5191 5191 SND_PCI_QUIRK(0x1028, 0x06da, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), 5192 5192 SND_PCI_QUIRK(0x1028, 0x06de, "Dell", ALC292_FIXUP_DISABLE_AAMIX), 5193 + SND_PCI_QUIRK(0x1028, 0x06db, "Dell", ALC292_FIXUP_DISABLE_AAMIX), 5193 5194 SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), 5194 5195 SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), 5195 5196 SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2), ··· 5292 5291 SND_PCI_QUIRK(0x17aa, 0x220c, "Thinkpad T440s", ALC292_FIXUP_TPT440_DOCK), 5293 5292 SND_PCI_QUIRK(0x17aa, 0x220e, "Thinkpad T440p", ALC292_FIXUP_TPT440_DOCK), 5294 5293 SND_PCI_QUIRK(0x17aa, 0x2210, "Thinkpad T540p", ALC292_FIXUP_TPT440_DOCK), 5294 + SND_PCI_QUIRK(0x17aa, 0x2211, "Thinkpad W541", ALC292_FIXUP_TPT440_DOCK), 5295 5295 SND_PCI_QUIRK(0x17aa, 0x2212, "Thinkpad T440", ALC292_FIXUP_TPT440_DOCK), 5296 5296 SND_PCI_QUIRK(0x17aa, 0x2214, "Thinkpad X240", ALC292_FIXUP_TPT440_DOCK), 5297 5297 SND_PCI_QUIRK(0x17aa, 0x2215, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
+3
sound/soc/Kconfig
··· 30 30 bool 31 31 select SND_DMAENGINE_PCM 32 32 33 + config SND_SOC_TOPOLOGY 34 + bool 35 + 33 36 # All the supported SoCs 34 37 source "sound/soc/adi/Kconfig" 35 38 source "sound/soc/atmel/Kconfig"
+3
sound/soc/Makefile
··· 1 1 snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o 2 2 snd-soc-core-objs += soc-pcm.o soc-compress.o soc-io.o soc-devres.o soc-ops.o 3 + 4 + ifneq ($(CONFIG_SND_SOC_TOPOLOGY),) 3 5 snd-soc-core-objs += soc-topology.o 6 + endif 4 7 5 8 ifneq ($(CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM),) 6 9 snd-soc-core-objs += soc-generic-dmaengine-pcm.o
+1 -1
sound/usb/card.c
··· 638 638 int err = -ENODEV; 639 639 640 640 down_read(&chip->shutdown_rwsem); 641 - if (chip->probing && chip->in_pm) 641 + if (chip->probing || chip->in_pm) 642 642 err = 0; 643 643 else if (!chip->shutdown) 644 644 err = usb_autopm_get_interface(chip->pm_intf);
+1
sound/usb/quirks.c
··· 1268 1268 return SNDRV_PCM_FMTBIT_DSD_U32_BE; 1269 1269 break; 1270 1270 1271 + case USB_ID(0x20b1, 0x000a): /* Gustard DAC-X20U */ 1271 1272 case USB_ID(0x20b1, 0x2009): /* DIYINHK DSD DXD 384kHz USB to I2S/DSD */ 1272 1273 case USB_ID(0x20b1, 0x2023): /* JLsounds I2SoverUSB */ 1273 1274 if (fp->altsetting == 3)