Commit 9e3d352b authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Print PCI device name at "spurious message" warnings

... to make it clear to see from which device it comes.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ede8d1b4
...@@ -832,8 +832,9 @@ static void azx_update_rirb(struct azx *chip) ...@@ -832,8 +832,9 @@ static void azx_update_rirb(struct azx *chip)
smp_wmb(); smp_wmb();
chip->rirb.cmds[addr]--; chip->rirb.cmds[addr]--;
} else } else
snd_printk(KERN_ERR SFX "spurious response %#x:%#x, " snd_printk(KERN_ERR SFX "%s: spurious response %#x:%#x, "
"last cmd=%#08x\n", "last cmd=%#08x\n",
pci_name(chip->pci),
res, res_ex, res, res_ex,
chip->last_cmd[addr]); chip->last_cmd[addr]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment