From: Icenowy Zheng <uwu@icenowy.me>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Cc: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
Icenowy Zheng <uwu@icenowy.me>
Subject: [PATCH 2/2] ALSA: emu10k1: hide ext. MIDI ports for Audigy Rx
Date: Sun, 13 Oct 2024 09:47:13 +0800 [thread overview]
Message-ID: <20241013014714.7686-3-uwu@icenowy.me> (raw)
In-Reply-To: <20241013014714.7686-1-uwu@icenowy.me>
Audigy Rx is a card w/o any external MIDI ports available.
Set the capability bit to hide its MPU-401 ports to prevent confusion.
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
---
sound/pci/emu10k1/emu10k1_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c
index 5b8a5ba825bdb..c9240126f78e3 100644
--- a/sound/pci/emu10k1/emu10k1_main.c
+++ b/sound/pci/emu10k1/emu10k1_main.c
@@ -947,6 +947,7 @@ static const struct snd_emu_chip_details emu_chip_details[] = {
.id = "Audigy2",
.emu10k2_chip = 1,
.ca0108_chip = 1,
+ .no_midi = 1,
.spk71 = 1,
.adc_1361t = 1, /* 24 bit capture instead of 16bit */
.ac97_chip = 1},
--
2.47.0
prev parent reply other threads:[~2024-10-13 1:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-13 1:47 [PATCH 0/2] ALSA: emu10k1: hide MPU-401 " Icenowy Zheng
2024-10-13 1:47 ` [PATCH 1/2] ALSA: emu10k1: add a capability bit for no MIDI Icenowy Zheng
2024-10-13 9:54 ` Oswald Buddenhagen
2024-10-13 10:04 ` Icenowy Zheng
2024-10-13 1:47 ` Icenowy Zheng [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=20241013014714.7686-3-uwu@icenowy.me \
--to=uwu@icenowy.me \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=oswald.buddenhagen@gmx.de \
--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®