ALSA: usb-audio: ignore delay calculation for capture stream
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Nov 2012 13:28:42 +0000 (14:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Nov 2012 14:37:32 +0000 (15:37 +0100)
commit3f94fad09538ec988919ec3f371841182df71d04
treec37b1d2d412850ae03c0d4ffc9a8cd585eab866a
parentffe4d12b151018e831f0ca2e05fe78a55238c517
ALSA: usb-audio: ignore delay calculation for capture stream

It doesn't make sense to calculate the delay for capture streams in
the current implementation.  It's always zero, so we should skip the
computation in snd_usb_pcm_pointer() in the case of capture.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c