From: Takashi Iwai Date: Fri, 6 Jul 2012 06:11:43 +0000 (+0200) Subject: ALSA: usb-audio: Fix the first PCM interface assignment X-Git-Tag: v3.5-rc7~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9b594661e8dee54955607277c937c3ff3a5f01;p=pandora-kernel.git ALSA: usb-audio: Fix the first PCM interface assignment In the new PCM streaming logic, the interface number is assigned to usb stream instance (subs->interface) after the format and rate setups are succeeded, but some codes are still passing subs->interface as the reference to helper functions. This leads to initializing with an invalid iface number (-1). This patch replaces the wrong references with the ones from the target fmt correctly. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed