]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb - Avoid unnecessary sample rate changes on USB 2.0 clock sources
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 25 Apr 2013 12:32:24 +0000 (14:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 Apr 2013 05:37:09 +0000 (07:37 +0200)
commit3318f1a1c9307709aeece251c266f511a60c855f
tree4d5b8b0fe47eaf9ab35c74ea7fc530068579eb0b
parent0eef466918447d3aef99c048490e1d8abb46359a
ALSA: usb - Avoid unnecessary sample rate changes on USB 2.0 clock sources

The Scarlett 2i2 seems to take almost 500 ms to set the sample rate,
even if the clock is currently set to that value. This patch speeds
up prepare of the device, by avoiding setting the clock to something
it already is.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c