mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christian Ruppert <arc@gmx.li>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org
Cc: Christian Ruppert <arc@gmx.li>,
	Will Porter <mrwillporter@gmail.com>,
	Peter Drabik <drabik.p@gmail.com>, Neil Andrews <neil@androos.io>
Subject: [PATCH 3/3] Add Kconfig option for Audient EVO4 mixer quirks
Date: Sat, 19 Sep 2026 17:18:40 +0200	[thread overview]
Message-ID: <20260919151840.24371-4-arc@gmx.li> (raw)
In-Reply-To: <20260919151840.24371-1-arc@gmx.li>

Add Kconfig option for the Audient EVO4 support. This is split out from
the evo4 driver so it can be optionally applied. Other mixer quirks don't
seem to have Kconfig options so I leave it to the upstream to decide what
to do with this.

Signed-off-by: Christian Ruppert <arc@gmx.li>
---
 sound/usb/Kconfig        | 10 ++++++++++
 sound/usb/Makefile       |  3 ++-
 sound/usb/mixer_quirks.c |  4 ++++
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/sound/usb/Kconfig b/sound/usb/Kconfig
index b4588915efa1..21039dd4ae3a 100644
--- a/sound/usb/Kconfig
+++ b/sound/usb/Kconfig
@@ -175,6 +175,16 @@ config SND_USB_HIFACE
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-usb-hiface.
 
+config SND_USB_EVO
+	bool "Audient EVO advanced mixer features"
+	help
+	  Support advanced mixer features for the Audient EVO4 USB audio
+	  interface such as
+	    * the recording mixer
+	    * the monitor crossfader
+	    * phantom power control
+	    * missing channel mute buttons
+
 config SND_BCD2000
 	tristate "Behringer BCD2000 MIDI driver"
 	select SND_RAWMIDI
diff --git a/sound/usb/Makefile b/sound/usb/Makefile
index 2e842dcc73de..f3664adeab85 100644
--- a/sound/usb/Makefile
+++ b/sound/usb/Makefile
@@ -11,7 +11,6 @@ snd-usb-audio-y := 	card.o \
 			helper.o \
 			implicit.o \
 			mixer.o \
-			mixer_evo.o \
 			mixer_quirks.o \
 			mixer_scarlett.o \
 			mixer_scarlett2.o \
@@ -27,6 +26,8 @@ snd-usb-audio-y := 	card.o \
 snd-usb-audio-$(CONFIG_SND_USB_AUDIO_MIDI_V2) += midi2.o
 snd-usb-audio-$(CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER) += media.o
 
+snd-usb-audio-$(CONFIG_SND_USB_EVO) += mixer_evo.o
+
 snd-usbmidi-lib-y := midi.o
 
 # Toplevel Module Dependency
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index 1e266fdbbb8e..c32ccff40122 100644
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -38,7 +38,9 @@
 #include "mixer_scarlett2.h"
 #include "mixer_us16x08.h"
 #include "mixer_s1810c.h"
+#ifdef CONFIG_SND_USB_EVO
 #include "mixer_evo.h"
+#endif
 #include "helper.h"
 #include "fcp.h"
 
@@ -4540,9 +4542,11 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)
 		err = snd_fcp_init(mixer);
 		break;
 
+#ifdef CONFIG_SND_USB_EVO
 	case USB_ID(USB_AUDIENT_VID, USB_EVO4_PID): /* Audient EVO 4 */
 		err = snd_evo_controls_create(mixer);
 		break;
+#endif
 
 	case USB_ID(0x041e, 0x323b): /* Creative Sound Blaster E1 */
 		err = snd_soundblaster_e1_switch_create(mixer);
-- 
2.55.0


      parent reply	other threads:[~2026-09-19 15:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-19 15:18 [PATCH 0/3] Add Audient EVO4 support Christian Ruppert
2026-09-19 15:18 ` [PATCH 1/3] Fix Audient EVO4 master playback control name Christian Ruppert
2026-09-19 15:18 ` [PATCH 2/3] Add Audient EVO4 mixer quirks Christian Ruppert
2026-09-19 15:18 ` Christian Ruppert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260919151840.24371-4-arc@gmx.li \
    --to=arc@gmx.li \
    --cc=drabik.p@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mrwillporter@gmail.com \
    --cc=neil@androos.io \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®