mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 02:54:00 +08:00
ALSA: usb-audio: Always create the interrupt pipe for the mixer
An UAC3 BADD device may also include an interrupt status pipe to report changes on the HEADSET ADAPTER terminals. The creation of the status pipe is dependent on the device reporting that it has it. Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
3528cd8f6a
commit
ad6baae623
@ -3338,10 +3338,12 @@ int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
|
||||
err = snd_usb_mixer_controls(mixer);
|
||||
if (err < 0)
|
||||
goto _error;
|
||||
err = snd_usb_mixer_status_create(mixer);
|
||||
if (err < 0)
|
||||
goto _error;
|
||||
}
|
||||
|
||||
err = snd_usb_mixer_status_create(mixer);
|
||||
if (err < 0)
|
||||
goto _error;
|
||||
|
||||
err = create_keep_iface_ctl(mixer);
|
||||
if (err < 0)
|
||||
goto _error;
|
||||
|
Loading…
Reference in New Issue
Block a user