]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8fdc4199d15777dbbdb416ec47e697d47e42a75
treea6d257af3b353205c2b2add2c7740713da9a0c9a
parentaf32a280572a9546726ed1f13e6cf00491a223f6
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