diff options
author | Wesley Cheng <quic_wcheng@quicinc.com> | 2025-04-09 12:48:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-11 13:02:33 +0200 |
commit | 9bf4294d0c1e5268332964604ece43eaf7f33cc3 (patch) | |
tree | 87e885676b46b29cdb1337247e25e1c162fcb47d | |
parent | a67656f011d18c58a1e5c6744ba7d6061b5bfd3b (diff) |
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>
-rw-r--r-- | sound/usb/qcom/qc_audio_offload.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/usb/qcom/qc_audio_offload.c b/sound/usb/qcom/qc_audio_offload.c index 378249a264a3..5874eb5ba827 100644 --- a/sound/usb/qcom/qc_audio_offload.c +++ b/sound/usb/qcom/qc_audio_offload.c @@ -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: |