In preparation an upcoming change to enable CONFIG_USB_XHCI_HCD=y in gki_defconfig, the downstream modifications need to be removed so that the driver can be realigned with upstream. Move the secondary ring handling functions into a separate file that will be compiled as part of the usb_audio_qmi module which is the primary (and only) user. Unfortunately some miscellaneous xhci APIs (xhci_ring_alloc et al) which are referenced are not currently exported from the XHCI module, so we will either need to upstream a change to export them or duplicate them. Until then the snd-usb-audio-qmi module is temporarily broken. Change-Id: Ib06ccaacf43840a92ad0c71c6b09882763e061b4 Signed-off-by: Jack Pham <jackp@codeaurora.org>
41 lines
985 B
Makefile
41 lines
985 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for ALSA
|
|
#
|
|
|
|
snd-usb-audio-objs := card.o \
|
|
clock.o \
|
|
endpoint.o \
|
|
format.o \
|
|
helper.o \
|
|
mixer.o \
|
|
mixer_quirks.o \
|
|
mixer_scarlett.o \
|
|
mixer_scarlett_gen2.o \
|
|
mixer_us16x08.o \
|
|
mixer_s1810c.o \
|
|
pcm.o \
|
|
power.o \
|
|
proc.o \
|
|
quirks.o \
|
|
stream.o \
|
|
validate.o
|
|
|
|
snd-usb-audio-$(CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER) += media.o
|
|
|
|
snd-usbmidi-lib-objs := midi.o
|
|
|
|
# Toplevel Module Dependency
|
|
obj-$(CONFIG_SND_USB_AUDIO) += snd-usb-audio.o snd-usbmidi-lib.o
|
|
|
|
obj-$(CONFIG_SND_USB_UA101) += snd-usbmidi-lib.o
|
|
obj-$(CONFIG_SND_USB_USX2Y) += snd-usbmidi-lib.o
|
|
obj-$(CONFIG_SND_USB_US122L) += snd-usbmidi-lib.o
|
|
|
|
obj-$(CONFIG_SND) += misc/ usx2y/ caiaq/ 6fire/ hiface/ bcd2000/
|
|
obj-$(CONFIG_SND_USB_LINE6) += line6/
|
|
|
|
CFLAGS_xhci-sec.o := -I$(srctree)/drivers/usb/host
|
|
snd-usb-audio-qmi-objs := usb_audio_qmi_v01.o usb_audio_qmi_svc.o xhci-sec.o
|
|
obj-$(CONFIG_SND_USB_AUDIO_QMI) += snd-usb-audio-qmi.o
|