Skip to contentSkip to conversation

ALSA:usb:qcom: add AUXILIARY_BUS to Kconfig dependencies

PATCH In review Frank Zhang 2 participants 2 messages Mar 17 – Mar 18 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA:usb:qcom: add AUXILIARY_BUS to Kconfig dependencies

The build can fail with:

ERROR: modpost: "__auxiliary_driver_register"
[sound/usb/qcom/snd-usb-audio-qmi.ko] undefined!
ERROR: modpost: "auxiliary_driver_unregister"
[sound/usb/qcom/snd-usb-audio-qmi.ko] undefined!

Select AUXILIARY_BUS when SND_USB_AUDIO_QMI is enabled.

---
 sound/usb/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/usb/Kconfig +1 -0
index 9b890abd96d3..b4588915efa1 100644
@@ -192,6 +192,7 @@ config SND_USB_AUDIO_QMI
 	tristate "Qualcomm Audio Offload driver"
 	depends on QCOM_QMI_HELPERS && SND_USB_AUDIO && SND_SOC_USB
 	depends on USB_XHCI_HCD && USB_XHCI_SIDEBAND
+	select AUXILIARY_BUS
 	help
 	  Say Y here to enable the Qualcomm USB audio offloading feature.
 
Signature · 1 line
2.53.0
#1 lore raw
Quoted 11 lines · Frank Zhang

The build can fail with:

ERROR: modpost: "__auxiliary_driver_register"
[sound/usb/qcom/snd-usb-audio-qmi.ko] undefined!
ERROR: modpost: "auxiliary_driver_unregister"
[sound/usb/qcom/snd-usb-audio-qmi.ko] undefined!

Select AUXILIARY_BUS when SND_USB_AUDIO_QMI is enabled.

Applied now. Thanks.

Takashi