mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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>
This commit is contained in:
parent
feb273404f
commit
e310bb0646
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user