From: David Henningsson Date: Thu, 25 Apr 2013 12:32:24 +0000 (+0200) Subject: ALSA: usb - Avoid unnecessary sample rate changes on USB 2.0 clock sources X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa92dd77ec5623cc0546acb77ee61a0a7ea4f0f0;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed