All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH 00/15] ALSA: usb-audio: Introduce and convert to quirk_flags
Date: Thu, 29 Jul 2021 09:38:46 +0200	[thread overview]
Message-ID: <20210729073855.19043-1-tiwai@suse.de> (raw)

As more and more device-specific workarounds came up and gathered in
various places, it becomes harder to manage.  Now it's time to clean
up and collect workarounds more consistently and make them more easily
applicable.

This patch set introduces a new bitmap flags, quirk_flags, to contain
various device-specific quirks.  Those are separate one from the
quirks in quirks-table.h; the quirks-table.h entries are for more
intrusive stuff that needs the descriptor override, while the new
quirk_flags is for easier ones that are tied with the vendor:product
IDs.


Takashi

===

Takashi Iwai (15):
  ALSA: usb-audio: Introduce quirk_flags field
  ALSA: usb-audio: Move media-controller API quirk into quirk_flags
  ALSA: usb-audio: Move txfr_quirk handling to quirk_flags
  ALSA: usb-audio: Move tx_length quirk handling to quirk_flags
  ALSA: usb-audio: Move playback_first flag into quirk_flags
  ALSA: usb-audio: Move clock setup quirk into quirk_flags
  ALSA: usb-audio: Move ITF-USB DSD quirk handling into quirk_flags
  ALSA: usb-audio: Move control message delay quirk into quirk_flags
  ALSA: usb-audio: Move interface setup delay into quirk_flags
  ALSA: usb-audio: Move rate validation quirk into quirk_flags
  ALSA: usb-audio: Move autosuspend quirk into quirk_flags
  ALSA: usb-audio: Move ignore_ctl_error check into quirk_flags
  ALSA: usb-audio: Move generic DSD raw detection into quirk_flags
  ALSA: usb-audio: Add quirk_flags module option
  ALSA: doc: Add the description of quirk_flags option for snd-usb-audio

 Documentation/sound/alsa-configuration.rst |  26 +-
 sound/usb/card.c                           |  42 ++-
 sound/usb/clock.c                          |  15 +-
 sound/usb/endpoint.c                       |  14 +-
 sound/usb/format.c                         |   6 +-
 sound/usb/implicit.c                       |   6 +-
 sound/usb/mixer.c                          |   6 +-
 sound/usb/mixer.h                          |   3 +-
 sound/usb/mixer_maps.c                     |  22 --
 sound/usb/quirks-table.h                   |  70 +---
 sound/usb/quirks.c                         | 359 +++++++++++----------
 sound/usb/quirks.h                         |   5 +-
 sound/usb/stream.c                         |   4 +-
 sound/usb/usbaudio.h                       |  65 +++-
 14 files changed, 341 insertions(+), 302 deletions(-)

-- 
2.26.2


             reply	other threads:[~2021-07-29 10:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29  7:38 Takashi Iwai [this message]
2021-07-29  7:38 ` [PATCH 01/15] ALSA: usb-audio: Introduce quirk_flags field Takashi Iwai
2021-07-29  7:38 ` [PATCH 02/15] ALSA: usb-audio: Move media-controller API quirk into quirk_flags Takashi Iwai
2021-07-29  7:38 ` [PATCH 03/15] ALSA: usb-audio: Move txfr_quirk handling to quirk_flags Takashi Iwai
2021-07-29  7:38 ` [PATCH 04/15] ALSA: usb-audio: Move tx_length quirk " Takashi Iwai
2021-07-29  7:38 ` [PATCH 05/15] ALSA: usb-audio: Move playback_first flag into quirk_flags Takashi Iwai
2021-07-29  7:38 ` [PATCH 06/15] ALSA: usb-audio: Move clock setup quirk " Takashi Iwai
2021-07-29  7:38 ` [PATCH 07/15] ALSA: usb-audio: Move ITF-USB DSD quirk handling " Takashi Iwai
2021-07-29  7:38 ` [PATCH 08/15] ALSA: usb-audio: Move control message delay quirk " Takashi Iwai
2021-07-29  7:38 ` [PATCH 09/15] ALSA: usb-audio: Move interface setup delay " Takashi Iwai
2021-07-29  7:43 ` [PATCH 10/15] ALSA: usb-audio: Move rate validation quirk " Takashi Iwai
2021-07-29  7:44 ` [PATCH 11/15] ALSA: usb-audio: Move autosuspend " Takashi Iwai
2021-07-29  7:44 ` [PATCH 12/15] ALSA: usb-audio: Move ignore_ctl_error check " Takashi Iwai
2021-07-29  7:44 ` [PATCH 13/15] ALSA: usb-audio: Move generic DSD raw detection " Takashi Iwai
2021-07-29  7:44 ` [PATCH 14/15] ALSA: usb-audio: Add quirk_flags module option Takashi Iwai
2021-07-29  7:44 ` [PATCH 15/15] ALSA: doc: Add the description of quirk_flags option for snd-usb-audio Takashi Iwai

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=20210729073855.19043-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.