ALSA: hda: warn on spurious response
[pandora-kernel.git] / sound / pci / hda / hda_intel.c
index 7c43f92..175f07a 100644 (file)
@@ -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]);
        }
 }