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

... to make it clear to see from which device it comes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2012-10-17 08:39:37 +02:00
parent ede8d1b424
commit 9e3d352b3f
1 changed files with 2 additions and 1 deletions

View File

@ -832,8 +832,9 @@ static void azx_update_rirb(struct azx *chip)
smp_wmb();
chip->rirb.cmds[addr]--;
} else
snd_printk(KERN_ERR SFX "spurious response %#x:%#x, "
snd_printk(KERN_ERR SFX "%s: spurious response %#x:%#x, "
"last cmd=%#08x\n",
pci_name(chip->pci),
res, res_ex,
chip->last_cmd[addr]);
}