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>
Цей коміт міститься в:
Takashi Iwai
2012-10-17 08:39:37 +02:00
джерело ede8d1b424
коміт 9e3d352b3f

Переглянути файл

@@ -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]);
}