From: Takashi Iwai Date: Wed, 17 Oct 2012 06:39:37 +0000 (+0200) Subject: ALSA: hda - Print PCI device name at "spurious message" warnings X-Git-Tag: firefly_0821_release~3680^2~1370^2~142 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9e3d352b3f8be39cab7186fd6213dcd458a29c97;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index d327ffa5b753..b6ffdd8474c3 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -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]); }