Browse Source

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 12 years ago
parent
commit
9e3d352b3f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      sound/pci/hda/hda_intel.c

+ 2 - 1
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]);
 	}