mbox series

[0/5] ALSA: scarlett2: Small fixes + device map retrieval

Message ID cover.1727971672.git.g@b4.vu (mailing list archive)
Headers show
Series ALSA: scarlett2: Small fixes + device map retrieval | expand

Message

Geoffrey D. Bennett Oct. 4, 2024, 2:27 p.m. UTC
Hi Takashi,

This patch series contains:

- 3 small fixes, I don't think need to be backported.

- Simplification of linked channel handling to match how the firmware
  works. This is needed to be able to handle the recently-announced
  big 4th Gen models correctly.

- Addition of support for device map retrieval: the Vocaster and
  Scarlett 4th Gen series added a new operation allowing the host to
  retrieve a base64-encoded zlib-compressed JSON representation of the
  device and the location of each control. This patch makes that
  available through /proc/asound/cardX/device-map.json.zz.b64

Regards,
Geoffrey.

Geoffrey D. Bennett (5):
  ALSA: scarlett2: Fix redeclaration of loop variable
  ALSA: scarlett2: Fix mixed declarations and code warning
  ALSA: scarlett2: Return ENOSPC for out-of-bounds flash writes
  ALSA: scarlett2: Simplify linked channel handling
  ALSA: scarlett2: Add support for device map retrieval

 sound/usb/mixer_scarlett2.c | 220 +++++++++++++++++++++++++++---------
 1 file changed, 165 insertions(+), 55 deletions(-)

Comments

Takashi Iwai Oct. 8, 2024, 8:12 a.m. UTC | #1
On Fri, 04 Oct 2024 16:27:22 +0200,
Geoffrey D. Bennett wrote:
> 
> Hi Takashi,
> 
> This patch series contains:
> 
> - 3 small fixes, I don't think need to be backported.
> 
> - Simplification of linked channel handling to match how the firmware
>   works. This is needed to be able to handle the recently-announced
>   big 4th Gen models correctly.
> 
> - Addition of support for device map retrieval: the Vocaster and
>   Scarlett 4th Gen series added a new operation allowing the host to
>   retrieve a base64-encoded zlib-compressed JSON representation of the
>   device and the location of each control. This patch makes that
>   available through /proc/asound/cardX/device-map.json.zz.b64
> 
> Regards,
> Geoffrey.
> 
> Geoffrey D. Bennett (5):
>   ALSA: scarlett2: Fix redeclaration of loop variable
>   ALSA: scarlett2: Fix mixed declarations and code warning
>   ALSA: scarlett2: Return ENOSPC for out-of-bounds flash writes
>   ALSA: scarlett2: Simplify linked channel handling
>   ALSA: scarlett2: Add support for device map retrieval

Applied all five patches to for-next branch now.  Thanks.


Takashi