From: Cryolitia PukNgae via B4 Relay <devnull+cryolitia.uniontech.com@kernel.org>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Jonathan Corbet <corbet@lwn.net>
Cc: linux-sound@vger.kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
Mingcong Bai <jeffbai@aosc.io>,
Kexy Biscuit <kexybiscuit@aosc.io>,
Nie Cheng <niecheng1@uniontech.com>,
Zhan Jun <zhanjun@uniontech.com>,
Feng Yuan <fengyuan@uniontech.com>,
qaqland <anguoli@uniontech.com>,
kernel@uniontech.com,
Cryolitia PukNgae <cryolitia@uniontech.com>
Subject: [PATCH v2 0/3] ALSA: usb-audio: add module param device_quirk_flags
Date: Fri, 12 Sep 2025 14:48:57 +0800 [thread overview]
Message-ID: <20250912-sound-v2-0-01ea3d279f4b@uniontech.com> (raw)
As an implementation of what has been discussed previously[1].
> An open question is whether we may want yet a new module option or
> rather extend the existing quirk option to accept the strings
> instead. Basically, when the given argument has a colon, it's a new
> syntax. If it's only a number, it's an old syntax, and parse like
> before. But, I'm open for either way (a new option or extend the
> existing one).
I would like to add a new param. The existed param
`static unsigned int quirk_flags[SNDRV_CARDS]` seems to related to
some sequence the card probed. To be honest, I havn't fully understood
it. And it seems hard to improve it while keeping compatibility.
1. https://lore.kernel.org/all/87h5xm5g7f.wl-tiwai@suse.de/
Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>
---
Changes in v2:
- Cleaned up some internal rebase confusion, sorry for that
- Link to v1: https://lore.kernel.org/r/20250912-sound-v1-0-cc9cfd9f2d01@uniontech.com
---
Cryolitia PukNgae (3):
ALSA: usb-audio: add two-way convert between name and bit for QUIRK_FLAG_*
ALSA: usb-audio: add module param device_quirk_flags
ALSA: doc: add docs about device_device_quirk_flags in snd-usb-audio
Documentation/sound/alsa-configuration.rst | 105 ++++++++++++------
sound/usb/card.c | 165 ++++++++++++++++++++++++++++-
sound/usb/quirks.c | 110 ++++++++++++++++++-
sound/usb/quirks.h | 5 +
sound/usb/usbaudio.h | 14 +++
5 files changed, 362 insertions(+), 37 deletions(-)
---
base-commit: 82ad508a85dc64cb4bd648edec5a4ce741648426
change-id: 20250910-sound-a91c86c92dba
Best regards,
--
Cryolitia PukNgae <cryolitia@uniontech.com>
next reply other threads:[~2025-09-12 6:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-12 6:48 Cryolitia PukNgae via B4 Relay [this message]
2025-09-12 6:48 ` [PATCH v2 1/3] ALSA: usb-audio: add two-way convert between name and bit for QUIRK_FLAG_* Cryolitia PukNgae via B4 Relay
2025-09-12 6:48 ` [PATCH v2 2/3] ALSA: usb-audio: add module param device_quirk_flags Cryolitia PukNgae via B4 Relay
2025-09-12 6:49 ` [PATCH v2 3/3] ALSA: doc: add docs about device_device_quirk_flags in snd-usb-audio Cryolitia PukNgae via B4 Relay
2025-09-12 15:09 ` [PATCH v2 0/3] ALSA: usb-audio: add module param device_quirk_flags Takashi Iwai
2025-09-15 7:43 ` Cryolitia PukNgae
2025-09-15 8:08 ` Takashi Iwai
2025-09-15 8:39 ` Cryolitia PukNgae
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=20250912-sound-v2-0-01ea3d279f4b@uniontech.com \
--to=devnull+cryolitia.uniontech.com@kernel.org \
--cc=anguoli@uniontech.com \
--cc=corbet@lwn.net \
--cc=cryolitia@uniontech.com \
--cc=fengyuan@uniontech.com \
--cc=jeffbai@aosc.io \
--cc=kernel@uniontech.com \
--cc=kexybiscuit@aosc.io \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=niecheng1@uniontech.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=zhanjun@uniontech.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