From: Clemens Ladisch Date: Thu, 1 May 2014 10:20:22 +0000 (+0200) Subject: ALSA: usb-audio: work around corrupted TEAC UD-H01 feedback data X-Git-Tag: omap-for-v3.16/fixes-against-rc1~202^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7040b6d1febfdbd9c1595efb751d492cd2503f96;p=pandora-kernel.git ALSA: usb-audio: work around corrupted TEAC UD-H01 feedback data The TEAC UD-H01 firmware sends wrong feedback frequency values, thus causing the PC to send the samples at a wrong rate, which results in clicks and crackles in the output. Add a workaround to detect and fix the corruption. Signed-off-by: Clemens Ladisch [mick37@gmx.de: use sender->udh01_fb_quirk rather than ep->udh01_fb_quirk in snd_usb_handle_sync_urb()] Reported-and-tested-by: Mick Reported-and-tested-by: Andrea Messa Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed