Skip to content

ALSA: scarlett2: Small fixes + device map retrieval

Geoffrey D. Bennett linux-sound 1 version Applied

Status from this message: Applied all five patches to for-next branch now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5ALSA: scarlett2: Fix redeclaration of loop variablesound/usb/mixer_scarlett2.c+2 -20 replies
2/5ALSA: scarlett2: Fix mixed declarations and code warningsound/usb/mixer_scarlett2.c+2 -20 replies
3/5ALSA: scarlett2: Return ENOSPC for out-of-bounds flash writessound/usb/mixer_scarlett2.c+1 -10 replies
4/5ALSA: scarlett2: Simplify linked channel handlingsound/usb/mixer_scarlett2.c+22 -490 replies
5/5ALSA: scarlett2: Add support for device map retrievalsound/usb/mixer_scarlett2.c+138 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.45.0