Skip to content
Commit 9e9b5946 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 8663ff75
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment