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>

authored by Wu Fengguang and committed by Takashi Iwai e310bb06 feb27340

+5 -1
+5 -1
sound/pci/hda/hda_intel.c
··· 632 632 chip->rirb.res[addr] = res; 633 633 smp_wmb(); 634 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