This is a note to let you know that I've just added the patch titled ALSA: hda: Re-add dropped snd_poewr_change_state() calls to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: alsa-hda-re-add-dropped-snd_poewr_change_state-calls.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From c8f79808cd8eb5bc8d14de129bd6d586d3fce0aa Mon Sep 17 00:00:00 2001 From: Takashi Iwai <tiwai@xxxxxxx> Date: Mon, 29 Mar 2021 13:30:58 +0200 Subject: ALSA: hda: Re-add dropped snd_poewr_change_state() calls From: Takashi Iwai <tiwai@xxxxxxx> commit c8f79808cd8eb5bc8d14de129bd6d586d3fce0aa upstream. The card power state change via snd_power_change_state() at the system suspend/resume seems dropped mistakenly during the PM code rewrite. The card power state doesn't play much role nowadays but it's still referred in a few places such as the HDMI codec driver. This patch restores them, but in a more appropriate place now in the prepare and complete callbacks. Fixes: f5dac54d9d93 ("ALSA: hda: Separate runtime and system suspend") Cc: <stable@xxxxxxxxxxxxxxx> Link: https://lore.kernel.org/r/20210329113059.25035-1-tiwai@xxxxxxx Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- sound/pci/hda/hda_intel.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1025,6 +1025,7 @@ static int azx_prepare(struct device *de chip = card->private_data; chip->pm_prepared = 1; + snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); flush_work(&azx_bus(chip)->unsol_work); @@ -1040,6 +1041,7 @@ static void azx_complete(struct device * struct azx *chip; chip = card->private_data; + snd_power_change_state(card, SNDRV_CTL_POWER_D0); chip->pm_prepared = 0; } Patches currently in stable-queue which might be from tiwai@xxxxxxx are queue-5.10/alsa-hda-re-add-dropped-snd_poewr_change_state-calls.patch queue-5.10/alsa-usb-audio-apply-sample-rate-quirk-to-logitech-connect.patch queue-5.10/alsa-hda-add-missing-sanity-checks-in-pm-prepare-complete-callbacks.patch queue-5.10/alsa-hda-realtek-fix-mute-micmute-leds-for-hp-640-g8.patch queue-5.10/alsa-hda-realtek-fix-a-determine_headset_type-issue-for-a-dell-aio.patch queue-5.10/alsa-hda-realtek-call-alc_update_headset_mode-in-hp_automute_hook.patch