]> git.ipfire.org Git - people/ms/linux.git/commit
ALSA: snd-usb-usx2y: remove bogus frame checks
authorDaniel Mack <zonque@gmail.com>
Wed, 2 Oct 2013 15:49:50 +0000 (17:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Oct 2013 08:02:24 +0000 (09:02 +0100)
commit863b6d816a79d03eb39d1fac938d624cc61bf9a0
tree5577084b29b036c8cda746c05a74edb95e919306
parentdc3a8b0c212a563bf21c91ac9e776a0875861d3f
ALSA: snd-usb-usx2y: remove bogus frame checks

commit a9d14bc0b188a822e42787d01e56c06fe9750162 upstream.

The frame check in i_usX2Y_urb_complete() and
i_usX2Y_usbpcm_urb_complete() is bogus and produces false positives as
described in this LAU thread:

  http://linuxaudio.org/mailarchive/lau/2013/5/20/200177

This patch removes the check code entirely.

Cc: fzu@wemgehoertderstaat.de
Reported-by: Dr Nicholas J Bailey <nicholas.bailey@glasgow.ac.uk>
Suggested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c