]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: usb-audio: qcom: fix USB_XHCI dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 21 May 2025 13:55:43 +0000 (15:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2025 12:38:50 +0000 (14:38 +0200)
commit882826f58b2c48cafc7084a799207e76f2c74fe0
tree6486533935df3ec037454e6caa09f3ff10e7d46c
parente2d8ae899760ff71168d08047962caae07ab36a1
ALSA: usb-audio: qcom: fix USB_XHCI dependency

SND_USB_AUDIO_QMI depends on USB_XHCI_SIDEBAND, but that is a bool symbol
and allows it to be built-in even when XHCI itself is in a loadable module.
That configuration causes a link failure:

arm-linux-gnueabi-ld: sound/usb/qcom/qc_audio_offload.o: in function `uaudio_event_ring_cleanup_free':
qc_audio_offload.c:(.text+0x7dc): undefined reference to `xhci_sideband_remove_interrupter'
arm-linux-gnueabi-ld: sound/usb/qcom/qc_audio_offload.o: in function `uaudio_endpoint_setup':
qc_audio_offload.c:(.text+0xe88): undefined reference to `xhci_sideband_add_endpoint'

Add the extra dependency on USB_XHCI itself.

Fixes: 326bbc348298 ("ALSA: usb-audio: qcom: Introduce QC USB SND offloading support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250521135551.2111109-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/Kconfig