aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-08-01 07:18:45 -0400
committerTakashi Iwai <tiwai@suse.de>2009-08-03 02:27:53 -0400
commite310bb0646e57a4f9182865115c5780931456c65 (patch)
tree71580a573c97e14c8143517c5e682d984a4c14ec /sound
parentfeb273404f15d86098cb0e81e46330d5c1e22b1b (diff)
ALSA: hda: warn on spurious response
To help disclose hardware bugs. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_intel.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 7c43f92de2fa..175f07a381ba 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -632,7 +632,11 @@ static void azx_update_rirb(struct azx *chip)
632 chip->rirb.res[addr] = res; 632 chip->rirb.res[addr] = res;
633 smp_wmb(); 633 smp_wmb();
634 chip->rirb.cmds[addr]--; 634 chip->rirb.cmds[addr]--;
635 } 635 } else
636 snd_printk(KERN_ERR SFX "spurious response %#x:%#x, "
637 "last cmd=%#08x\n",
638 res, res_ex,
639 chip->last_cmd[addr]);
636 } 640 }
637} 641}
638 642