summaryrefslogtreecommitdiffstats
path: root/sound/mips/au1x00.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-09-06 14:58:00 +0200
committerTakashi Iwai <tiwai@suse.de>2012-09-06 15:00:15 +0200
commit1213a205f9ed27d97de3d5bed28fb085ef4853e2 (patch)
treed29a9631b965cd0bf788d475f6fc563e240b48ed /sound/mips/au1x00.c
parentab548d2dba63ba947287965e525cc02a15d9853d (diff)
ALSA: usb-audio: Fix bogus error messages for delay accounting
The recent fix for the missing fine delayed time adjustment gives strange error messages at each start of the playback stream, such as delay: estimated 0, actual 352 delay: estimated 353, actual 705 These come from the sanity check in retire_playback_urb(). Before the stream is activated via start_endpoints(), a few silent packets have been already sent. And at this point the delay account is still in the state as if the new packets are just queued, so the driver gets confused and spews the bogus error messages. For fixing the issue, we just need to check whether the received packet is valid, whether it's zero sized or not. Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de> Cc: <stable@vger.kernel.org> [v3.5+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips/au1x00.c')
0 files changed, 0 insertions, 0 deletions