Pull sound fixes from Takashi Iwai: "One significant regression fix is for HD-audio buffer preallocation. In 5.6 it was set to non-prompt for x86 and forced to 0, but this turned out to be problematic for some applications, hence it gets reverted. Distros would need to restore CONFIG_SND_HDA_PREALLOC_SIZE value to the earlier values they've used in the past. Other than that, we've received quite a few small fixes for HD-audio and USB-audio. Most of them are for dealing with the broken TRX40 mobos and the runtime PM without HD-audio codecs" * tag 'sound-5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda: call runtime_allow() for all hda controllers ALSA: hda: Allow setting preallocation again for x86 ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported ALSA: hda: Skip controller resume if not needed ALSA: hda: Keep the controller initialization even if no codecs found ALSA: hda: Release resources at error in delayed probe ALSA: hda: Honor PM disablement in PM freeze and thaw_noirq ops ALSA: hda: Don't release card at firmware loading error ALSA: usb-audio: Check mapping at creating connector controls, too ALSA: usb-audio: Don't create jack controls for PCM terminals ALSA: usb-audio: Don't override ignore_ctl_error value from the map ALSA: usb-audio: Filter error from connector kctl ops, too ALSA: hda/realtek - Enable the headset mic on Asus FX505DT ALSA: ctxfi: Remove unnecessary cast in kfree
Showing the changes to include (1 of 9 files). Show all
Unified · Split
| @@ -494,6 +494,11 @@ void snd_hda_update_power_acct(struct hda_codec *codec); · 493 unmodified lines | |||
| 494 | static inline void snd_hda_set_power_save(struct hda_bus *bus, int delay) {} | 494 | static inline void snd_hda_set_power_save(struct hda_bus *bus, int delay) {} |
| 495 | #endif | 495 | #endif |
| 496 | 496 | ||
| 497 | static inline bool hda_codec_need_resume(struct hda_codec *codec) | ||
| 498 | { | ||
| 499 | return !codec->relaxed_resume && codec->jacktbl.used; | ||
| 500 | } | ||
| 501 | |||
| 497 | #ifdef CONFIG_SND_HDA_PATCH_LOADER | 502 | #ifdef CONFIG_SND_HDA_PATCH_LOADER |
| 498 | /* | 503 | /* |
| 499 | * patch firmware | 504 | * patch firmware |