diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2009-08-01 19:18:45 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-08-03 08:27:53 +0200 |
commit | e310bb0646e57a4f9182865115c5780931456c65 (patch) | |
tree | 71580a573c97e14c8143517c5e682d984a4c14ec /sound/pci/hda/hda_intel.c | |
parent | feb273404f15d86098cb0e81e46330d5c1e22b1b (diff) | |
download | op-kernel-dev-e310bb0646e57a4f9182865115c5780931456c65.zip op-kernel-dev-e310bb0646e57a4f9182865115c5780931456c65.tar.gz |
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/pci/hda/hda_intel.c')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 7c43f92..175f07a 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) chip->rirb.res[addr] = res; smp_wmb(); chip->rirb.cmds[addr]--; - } + } else + snd_printk(KERN_ERR SFX "spurious response %#x:%#x, " + "last cmd=%#08x\n", + res, res_ex, + chip->last_cmd[addr]); } } |