ALSA: snd-usb: use ep->stride from urb callbacks
authorDaniel Mack <zonque@gmail.com>
Tue, 16 Apr 2013 16:01:37 +0000 (00:01 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2013 08:03:23 +0000 (10:03 +0200)
commit8a2a74d2b7667b2719858caf9eb2b5a92460195d
treea6d257af3b353205c2b2add2c7740713da9a0c9a
parentef7a4f979bd8201324b2bcd30277c14aba889f50
ALSA: snd-usb: use ep->stride from urb callbacks

For normal PCM transfer, this change has no effect, as the endpoint's
stride is always frame_bits/8. For DSD DOP streams, however, which is
added later, the hardware stride differs from the software stride, and
the endpoint has the correct information in these cases.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c
This page took 0.026826 seconds and 5 git commands to generate.