[PATCH 1/2] ALSA: hda/intel: Power down GPU at error on azx_probe_continue()

From: Takashi Iwai

Date: Tue Oct 13 2026 - 10:16:41 EST


Since the recent fix commit fbaccb1b19c7 ("ALSA: hda: intel: Don't
free card in the probe work"), we don't release the card but just
toggles the init_failed flag to stop the operation in the case of
error at probing in azx_probe_continue(). This leaves, however,
display_power() true, which may block powering down the GPU.

Put display_power(false) at the error path for avoiding the potential
blockage.

Fixes: fbaccb1b19c7 ("ALSA: hda: intel: Don't free card in the probe work")
Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
---
sound/hda/controllers/intel.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/hda/controllers/intel.c b/sound/hda/controllers/intel.c
index 6b80b59b8743..b67d569fc859 100644
--- a/sound/hda/controllers/intel.c
+++ b/sound/hda/controllers/intel.c
@@ -2453,6 +2453,7 @@ static int azx_probe_continue(struct azx *chip, bool free_on_error)
if (err < 0) {
if (hda->vga_switcheroo_registered)
dev_warn(&pci->dev, "GPU sound probed, but not operational: please add a quirk to driver_denylist\n");
+ display_power(chip, false);
if (free_on_error) {
pci_set_drvdata(pci, NULL);
snd_card_free(chip->card);
--
2.55.0