diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-06 08:11:43 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-06 08:11:43 +0200 |
commit | 9e9b594661e8dee54955607277c937c3ff3a5f01 (patch) | |
tree | 48741ea76284cd4c1b8bab3e2decd82991ea5443 /sound/usb/endpoint.c | |
parent | 8663ff75cdca0a66f808e124c5592735793926af (diff) |
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 <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.c')
0 files changed, 0 insertions, 0 deletions