ALSA: snd-usb: restore delay information
authorDaniel Mack <zonque@gmail.com>
Thu, 30 Aug 2012 16:52:29 +0000 (18:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 16:59:40 +0000 (09:59 -0700)
commitb28af07e805bd1fc994628a78866c4ff18f7bc97
tree9423afc66573d1c5b79e96508d19d974b720877c
parentcf43b1131768b8e9bf1466e569d6a16864c3ccf0
ALSA: snd-usb: restore delay information

commit fbcfbf5f673847657ccd98afb4d8e13af7fdc372 upstream.

Parts of commit 294c4fb8 ("ALSA: usb: refine delay information with USB
frame counter") were unfortunately lost during the refactoring of the
snd-usb driver in 3.5.

This patch adds them back, restoring the correct delay information
behaviour.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/pcm.c