sound fixes for 5.0-rc6
Subsystems (2)
Linus,
please pull sound fixes for v5.0-rc6 from:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.0-rc6
The topmost commit is c97617a81a7616d49bc3700959e08c6c6f447093
----------------------------------------------------------------
sound fixes for 5.0-rc6
A collection of a few small fixes. The most significant one is the fix for the possible race at loading HD-audio drivers. This has been present for long time and surfaced only in a rare occasion, but finally spotted out.
The rest are usual device-specific fixes for HD-audio and USB-audio.
----------------------------------------------------------------
Charles Keepax (1):
ALSA: compress: Fix stop handling on compressed capture streams
Jeremy Soller (1):
ALSA: hda/realtek - Headset microphone support for System76 darp5
Kailang Yang (1):
ALSA: hda/realtek - Fix lose hp_pins for disable auto mute
Takashi Iwai (3):
ALSA: hda/realtek - Use a common helper for hp pin reference
ALSA: hda - Serialize codec registrations
ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
Udo Eberhardt (1):
ALSA: usb-audio: Add support for new T+A USB DAC
--- include/sound/compress_driver.h | 6 +++- include/sound/hda_codec.h | 1 + sound/pci/hda/hda_bind.c | 3 +- sound/pci/hda/hda_intel.c | 2 ++ sound/pci/hda/patch_ca0132.c | 4 ++- sound/pci/hda/patch_realtek.c | 62 +++++++++++++++++++++++------------------ sound/usb/quirks.c | 1 + 7 files changed, 49 insertions(+), 30 deletions(-)
include/sound/compress_driver.h +5 -1
@@ -173,7 +173,11 @@ static inline void snd_compr_drain_notify(struct snd_compr_stream *stream)if (snd_BUG_ON (!stream))return ; - stream->runtime->state =SNDRV_PCM_STATE_SETUP ; +if (stream->direction ==SND_COMPRESS_PLAYBACK ) + stream->runtime->state =SNDRV_PCM_STATE_SETUP ; +else + stream->runtime->state =SNDRV_PCM_STATE_PREPARED ; +wake_up (&stream->runtime->sleep); }
include/sound/hda_codec.h +1 -0
@@ -68,6 +68,7 @@ struct hda_bus { unsigned int response_reset:1; /* controller was reset */ unsigned int in_reset:1; /* during reset operation */ unsigned int no_response_fallback:1; /* don't fallback at RIRB error */ + unsigned int bus_probing :1; /* during probing process */int primary_dig_out_type;/* primary digital out PCM type */ unsigned int mixer_assigned;/* codec addr for mixer name */
sound/pci/hda/hda_bind.c +2 -1
@@ -115,7 +115,8 @@ static int hda_codec_driver_probe(struct device *dev) err =snd_hda_codec_build_controls (codec);if (err <0 ) goto error_module; -if (codec->card->registered) { +/* only register after the bus probe finished; otherwise it's racy */ +if (!codec->bus->bus_probing && codec->card->registered) { err =snd_card_register (codec->card);if (err <0 ) goto error_module;
sound/pci/hda/hda_intel.c +2 -0
@@ -2185,6 +2185,7 @@ static int azx_probe_continue(struct azx *chip)int dev = chip->dev_index;int err; +to_hda_bus (bus)->bus_probing =1 ; hda->probe_continued =1 ;/* bind with i915 if needed */
@@ -2269,6 +2270,7 @@ static int azx_probe_continue(struct azx *chip)if (err <0 ) hda->init_failed =1 ;complete_all (&hda->probe_wait); +to_hda_bus (bus)->bus_probing =0 ;return err; }
sound/pci/hda/patch_ca0132.c +3 -1
@@ -8451,8 +8451,10 @@ static void ca0132_free(struct hda_codec *codec)ca0132_exit_chip (codec);snd_hda_power_down (codec); -if (IS_ENABLED (CONFIG_PCI ) && spec->mem_base) +#ifdef CONFIG_PCI +if (spec->mem_base)pci_iounmap (codec->bus->pci, spec->mem_base); +#endif kfree (spec->spec_init_verbs);kfree (codec->spec); }
sound/pci/hda/patch_realtek.c +35 -27
180 lines not on this page · raw message
sound/usb/quirks.c +1 -0
@@ -1567,6 +1567,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,case 0x20b1 :/* XMOS based devices */ case 0x152a :/* Thesycon devices */ case 0x25ce :/* Mytek devices */ +case 0x2ab6 :/* T+A devices */ if (fp->dsd_raw)return SNDRV_PCM_FMTBIT_DSD_U32_BE ;break ;
The pull request you sent on Thu, 07 Feb 2019 09:28:22 +0100:
The pull request you sent on Thu, 07 Feb 2019 09:28:22 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.gittags/sound-5.0-rc6
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6f64e3a4de749575e4705fa53dd49aed28f92623
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker