ALSA: snd-usb-usx2y: remove bogus frame checks
authorDaniel Mack <zonque@gmail.com>
Wed, 2 Oct 2013 15:49:50 +0000 (17:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 Oct 2013 15:58:01 +0000 (17:58 +0200)
commita9d14bc0b188a822e42787d01e56c06fe9750162
treeae6b1db19402579b55af2b488bc92469dfc8446c
parent4a4370442c996be0fd08234a167c8a127c2488bb
ALSA: snd-usb-usx2y: remove bogus frame checks

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c