ALSA: hda_intel: ratelimit "spurious response" message
authorJoe Perches <joe@perches.com>
Thu, 7 Nov 2013 19:55:15 +0000 (11:55 -0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Nov 2013 20:22:23 +0000 (21:22 +0100)
commit3b70a67da0bebca02a130eff8084eee457a2b836
tree17df7a5144185ec0264cbce219b44ea47870e986
parentca2b029515b4a81bbedcffc69a5d9574bb5ba475
ALSA: hda_intel: ratelimit "spurious response" message

dmesg here has a 100+ consecutive lines of:

[ 1464.219446] hda-intel 0000:00:14.2: spurious response 0x0:0x0, last cmd=0x170500
[ 1464.219451] hda-intel 0000:00:14.2: spurious response 0x0:0x0, last cmd=0x170500
[ 1464.219454] hda-intel 0000:00:14.2: spurious response 0x0:0x0, last cmd=0x170500
...

Ratelimit the message to reduce the dmesg log noise.

Coalesce the format while at it.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c