All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Chris J Arges <chris.j.arges@canonical.com>
Cc: alsa-devel@alsa-project.org, robin@gareus.org,
	clemens@ladisch.de, th55@gmx.de, david.henningsson@canonical.com
Subject: Re: [PATCH 0/4 v7] Scarlett mixer interface inclusion
Date: Thu, 13 Nov 2014 07:36:51 +0100	[thread overview]
Message-ID: <s5h1tp7r4ho.wl-tiwai@suse.de> (raw)
In-Reply-To: <1415815622-31015-1-git-send-email-chris.j.arges@canonical.com>

At Wed, 12 Nov 2014 12:06:58 -0600,
Chris J Arges wrote:
> 
> This is v5 of the patchset to merge what Tobias Hoffman and Robin Gareus have
> done to enable the Focusrite Scarlett mixers for use with ALSA.

Already v7? :)

I applied the patch series now to for-next branch.
If anything is missing, let's fix on top of that.


thanks,

Takashi


> 
> [v3]
> 
> I have split the commits into hopefully a logical series. First the original
> quirk is reverted for one model of a Scarlett device. Next an additional
> structure is added to be able to more easily reuse usb_mixer_elem_info.
> After this mixer functions that were useful to this code were made public.
> Finally the last patch adds the necessary functions to make this mixer work.
> 
> [v4]
> 
> This version removes the per-mixer control creation functions and uses a
> generic function based on structure data. Macros used for control addition
> are removed and the plain function is used instead. Hardcoded text block is
> removed and macros to define strings are used instead. Hardcoded control
> initialization has been removed.
> 
> [v5]
> 
> In this version, HW saving functionality has been removed in this initial
> patchset. Macros for function calls are removed for readability. Strings for
> enums are created dynamically using the info structures. String lengths for
> controls are now all SNDRV_CTL_ELEM_ID_NAME_MAXLEN in length.
> 
> [v6]
> 
> Removed dead variables. Made names const char * const * again. Adjusted
> scarlett_ctl_enum_* functions to be a bit clearer. Used strlcpy where
> appropriate. Properly free two dimensional array.
> 
> [v7]
> 
> Generate strings directly in enum_info function instead of dynamically
> allocating into another array and copying. Remove unnecessary initializations,
> kfrees and use kmalloc instead of kmalloc_array. Update comments to reflect
> current mixer functionality.
> 
> Chris J Arges (4):
>   Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett
>   ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info
>   ALSA: usb-audio: make set_*_mix_values functions public
>   ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and
>     18i20
> 
>  sound/usb/Makefile         |    1 +
>  sound/usb/mixer.c          |   34 +-
>  sound/usb/mixer.h          |    9 +
>  sound/usb/mixer_quirks.c   |   18 +-
>  sound/usb/mixer_scarlett.c | 1001 ++++++++++++++++++++++++++++++++++++++++++++
>  sound/usb/mixer_scarlett.h |    6 +
>  sound/usb/quirks-table.h   |   51 ---
>  7 files changed, 1044 insertions(+), 76 deletions(-)
>  create mode 100644 sound/usb/mixer_scarlett.c
>  create mode 100644 sound/usb/mixer_scarlett.h
> 
> -- 
> 2.1.3
> 

  parent reply	other threads:[~2014-11-13  6:36 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-21 19:46 [PATCH v2] Scarlett mixer interface inclusion Chris J Arges
2014-10-21 19:46 ` [PATCH v2] Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-10-22  6:49   ` Takashi Iwai
2014-10-22 18:44     ` Chris J Arges
2014-10-29 20:55     ` [PATCH v3 0/4] Scarlett mixer interface inclusion Chris J Arges
2014-10-29 20:56       ` [PATCH v3 1/4] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-10-29 20:56       ` [PATCH v3 2/4] ALSA: usb-audio: Add usb_mixer_elem_enum_info Chris J Arges
2014-10-30  7:17         ` Takashi Iwai
2014-10-29 20:56       ` [PATCH v3 3/4] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-10-29 20:56       ` [PATCH v3 4/4] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-10-30  7:43         ` Takashi Iwai
2014-11-03 17:11           ` Chris J Arges
2014-11-03 17:31             ` Clemens Ladisch
2014-10-30  7:11       ` [PATCH v3 0/4] Scarlett mixer interface inclusion Takashi Iwai
2014-11-03 22:58         ` [PATCH 0/4 v4] " Chris J Arges
2014-11-03 22:58           ` [PATCH 1/4 v4] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-03 22:58           ` [PATCH 2/4 v4] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-03 22:58           ` [PATCH 3/4 v4] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-03 22:58           ` [PATCH 4/4 v4] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-04 10:18             ` Takashi Iwai
2014-11-04 13:16               ` Tobias Hoffmann
2014-11-04 13:29                 ` Tobias Hoffmann
2014-11-04 19:45                   ` Chris J Arges
2014-11-04 14:00                 ` Takashi Iwai
2014-11-04 19:56                   ` Chris J Arges
2014-11-04 19:51                 ` Chris J Arges
2014-11-05 16:32               ` [PATCH v5] " Chris J Arges
2014-11-06 14:33               ` [PATCH 0/4 v5] Scarlett mixer interface inclusion Chris J Arges
2014-11-06 14:33                 ` [PATCH 1/4 v5] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-06 14:33                 ` [PATCH 2/4 v5] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-06 14:33                 ` [PATCH 3/4 v5] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-06 14:33                 ` [PATCH 4/4 v5] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-07 10:15                   ` Takashi Iwai
2014-11-10 18:59                     ` [PATCH 0/4 v6] Scarlett mixer interface inclusion Chris J Arges
2014-11-10 18:59                       ` [PATCH 1/4 v6] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-10 18:59                       ` [PATCH 2/4 v6] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-10 18:59                       ` [PATCH 3/4 v6] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-10 18:59                       ` [PATCH 4/4 v6] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-10 19:24                         ` Takashi Iwai
2014-11-10 22:00                           ` Chris J Arges
2014-11-11  7:33                             ` Takashi Iwai
2014-11-12 18:06                           ` [PATCH 0/4 v7] Scarlett mixer interface inclusion Chris J Arges
2014-11-12 18:06                             ` [PATCH 1/4 v7] Revert "ALSA: usb-audio: Add quirk for Focusrite Scarlett Chris J Arges
2014-11-12 18:07                             ` [PATCH 2/4 v7] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info Chris J Arges
2014-11-12 18:07                             ` [PATCH 3/4 v7] ALSA: usb-audio: make set_*_mix_values functions public Chris J Arges
2014-11-12 18:07                             ` [PATCH 4/4 v7] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 Chris J Arges
2014-11-13  6:36                             ` Takashi Iwai [this message]
2014-11-13  6:38                               ` [PATCH 0/4 v7] Scarlett mixer interface inclusion David Henningsson
2014-11-13 13:01                               ` Chris J Arges
2014-11-04 20:11             ` [PATCH 4/4 v4] ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 David Henningsson
2014-11-04 20:18               ` Chris J Arges
2014-11-05  9:55                 ` David Henningsson
2014-11-02 19:00       ` [PATCH v3 0/4] Scarlett mixer interface inclusion Dominik Haumann
2014-11-03 15:49         ` Chris J Arges
2014-11-03 22:31           ` Chris J Arges
2014-10-22  6:36 ` [PATCH v2] " Takashi Iwai
2014-11-05 11:33   ` Takashi Iwai
2014-11-05 12:39     ` Takashi Iwai
2014-11-05 14:20       ` Takashi Iwai
2014-11-05 14:30       ` Chris J Arges

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=s5h1tp7r4ho.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=chris.j.arges@canonical.com \
    --cc=clemens@ladisch.de \
    --cc=david.henningsson@canonical.com \
    --cc=robin@gareus.org \
    --cc=th55@gmx.de \
    /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.