summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-10-17 08:39:37 +0200
committerTakashi Iwai <tiwai@suse.de>2012-10-17 08:39:37 +0200
commit9e3d352b3f8be39cab7186fd6213dcd458a29c97 (patch)
treeb04d8ab6d2ab1c634f8ede37d37eba7dde70932e /sound/pci/hda
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')
-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 d327ffa5b75..b6ffdd8474c 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]);
}