mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
ALSA: usb-audio: qcom: Notify USB audio devices on USB offload probing
If the vendor USB offload class driver is not ready/initialized before USB SND discovers attached devices, utilize snd_usb_rediscover_devices() to find all currently attached devices, so that the ASoC entities are notified on available USB audio devices. Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20250409194804.3773260-32-quic_wcheng@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a67656f011
commit
9bf4294d0c
|
|
@ -1952,6 +1952,8 @@ static int qc_usb_audio_probe(struct auxiliary_device *auxdev,
|
|||
if (ret < 0)
|
||||
goto release_qmi;
|
||||
|
||||
snd_usb_rediscover_devices();
|
||||
|
||||
return 0;
|
||||
|
||||
release_qmi:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user