aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_intel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-10-17 02:39:37 -0400
committerTakashi Iwai <tiwai@suse.de>2012-10-17 02:39:37 -0400
commit9e3d352b3f8be39cab7186fd6213dcd458a29c97 (patch)
treeb04d8ab6d2ab1c634f8ede37d37eba7dde70932e /sound/pci/hda/hda_intel.c
parentede8d1b42473967c40c006bfc6dbec23ea541ad3 (diff)
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>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r--sound/pci/hda/hda_intel.c3
1 files changed, 2 insertions, 1 deletions
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)
832 smp_wmb(); 832 smp_wmb();
833 chip->rirb.cmds[addr]--; 833 chip->rirb.cmds[addr]--;
834 } else 834 } else
835 snd_printk(KERN_ERR SFX "spurious response %#x:%#x, " 835 snd_printk(KERN_ERR SFX "%s: spurious response %#x:%#x, "
836 "last cmd=%#08x\n", 836 "last cmd=%#08x\n",
837 pci_name(chip->pci),
837 res, res_ex, 838 res, res_ex,
838 chip->last_cmd[addr]); 839 chip->last_cmd[addr]);
839 } 840 }