All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH RFC 0/3] Add USB-audio quirk alias option
Date: Mon, 11 Jan 2016 17:59:13 +0100	[thread overview]
Message-ID: <1452531556-32622-1-git-send-email-tiwai@suse.de> (raw)

Hi,

this is an experimental patchset to add a new option, quirk_alias, to
snd-usb-audio driver.  It allows to use the existing quirk for the
given vendor:product id pair matching with the new device.  Passing
like:
  quirk_alias=1234abcd:5678beef
will make the driver applying the quirk for 5678:beef against to the
new device 1234:abcd.

Obviously, this is for helping to find a workaround for a new device
that may need the same / similar quirk for the previous models.  Then
you can apply the quirk without recompiling the kernel driver with a
manual patch.


Takashi

===

Takashi Iwai (3):
  ALSA: usb-audio: Refer to chip->usb_id for quirks and MIDI creation
  ALSA: usb-audio: Add quirk_alias option
  ALSA: doc: Update option descriptions for snd-usb-audio

 Documentation/sound/alsa/ALSA-Configuration.txt |  9 ++++
 sound/usb/card.c                                | 56 +++++++++++++++++++++++--
 sound/usb/midi.c                                | 15 ++++---
 sound/usb/midi.h                                | 14 ++++++-
 sound/usb/quirks.c                              | 34 ++++++++-------
 sound/usb/quirks.h                              |  3 +-
 6 files changed, 105 insertions(+), 26 deletions(-)

-- 
2.7.0

             reply	other threads:[~2016-01-11 16:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 16:59 Takashi Iwai [this message]
2016-01-11 16:59 ` [PATCH RFC 1/3] ALSA: usb-audio: Refer to chip->usb_id for quirks and MIDI creation Takashi Iwai
2016-01-11 16:59 ` [PATCH RFC 2/3] ALSA: usb-audio: Add quirk_alias option Takashi Iwai
2016-01-11 16:59 ` [PATCH RFC 3/3] ALSA: doc: Update option descriptions 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=1452531556-32622-1-git-send-email-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --subject='Re: [PATCH RFC 0/3] Add USB-audio quirk alias option' \
    /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

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.