mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
8dc5efe3d1
This patch adds support for Presonus Studio 1810c, a usb interface that's UAC2 compliant with a few quirks and a few extra hw-specific controls. I've tested all 3 altsettings and the added switch controls and they work as expected. More infos on the card: https://www.presonus.com/products/Studio-1810c Note that this work is based on packet inspection with usbmon. I just wanted to get this card to work for using it on our open-source radio station: https://github.com/UoC-Radio v2 address issues reported by Takashi: * Properly get/set enum type controls * Prevent race condition on switch_get/set * Various control naming changes * Various coding style fixes v3 improve readability of sample rate filtering and some other minor changes. Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Link: https://lore.kernel.org/r/5e47481a.1c69fb81.befb3.8dac@mx.google.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
37 lines
801 B
Makefile
37 lines
801 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/
|