Received: by 10.192.165.148 with SMTP id m20csp4916821imm; Tue, 24 Apr 2018 10:29:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+9gUL2hYif3S4ft3zRgy9SBZELdNMFWoWz/BN1XwbBXYxtlhYgg4HDmbkvREXjFUFlUtHW X-Received: by 2002:a17:902:3265:: with SMTP id y92-v6mr25969653plb.352.1524590956843; Tue, 24 Apr 2018 10:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524590956; cv=none; d=google.com; s=arc-20160816; b=Bgm7j2ARyGe9iPcOPZAd/9ttiZ8bKMXbJLzn2nLyzmEjlrwEgeaIvq7w4UnZFDpZ/7 xIhpH4UnmzzockjYH6fxyYmiVar3b5Y+WtipNh5QjSpNn0arMJqesS4Z0FDVs+t3CYLk VwHMWFxAV/8Bk8rXNRfH/1+VYBh/9grphlDhiF9GkZ6inJxoTwSlidK8xZFRnDyTAzo7 S/lifgrrF5LIwrdmUnyLbCwMG+iAMXKFIN4AKPPawURkvDWRZUcWEGlL6726RJcZRr5+ fejKnE1rgfuZBhHA5U2Ht0wNac1P2UqynofveXqNipPtTRWgAT+EANHK6Tm5YcmzUC1S GZfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=40Y3ekkKuNvjZxIWP4ZW83rJm+Uc5LprTImJuh4E5xg=; b=Rc46FDy3r/lMaOtnrBC8W8xl0ej3PtotrmEq54btIZpDqljn/RwzievIXC7IUqiYMF +WH1jkod4uSosZnRdzik8AkCnt0ixxI5e0HCfzi+bCpxqFepPw51EBSBZ8IXqpWOk18L NwWCU2muz8R4R2UGmqrMLrrYIGMP6n68AHH+azpzwwneXURykdIx5ZeDGTD52LpaVcB5 b36Lq2zJgFmvVhe8yiqTqSOOta1vUhimNI4tF0XpHoiIdDKrcM7iHgwIZVatSEYf7sy8 5Y64I3j8KavZ/quAhnyOSy9bJv1pBjYNdVCE43kUE1aqnTWSC4LoneYUgtzK/oiJPNSg 0BuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16-v6si14930820plr.141.2018.04.24.10.29.02; Tue, 24 Apr 2018 10:29:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751995AbeDXRZA (ORCPT + 99 others); Tue, 24 Apr 2018 13:25:00 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:46167 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751419AbeDXRY6 (ORCPT ); Tue, 24 Apr 2018 13:24:58 -0400 Received: from 167-98-27-229.cust-167.exponential-e.net ([167.98.27.229] helo=ct-lt-1121.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1fB1gS-0005ev-9d; Tue, 24 Apr 2018 18:24:52 +0100 From: Jorge Sanjuan To: tiwai@suse.com Cc: alsa-devel@alsa-project.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Jorge Sanjuan Subject: [PATCH v2 0/4] ALSA: usb: UAC3 new features. Date: Tue, 24 Apr 2018 18:24:41 +0100 Message-Id: <20180424172445.31928-1-jorge.sanjuan@codethink.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180420170327.31569-1-jorge.sanjuan@codethink.co.uk> References: <20180420170327.31569-1-jorge.sanjuan@codethink.co.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2 fixes: - If/else statements braces style fixes. - Add wrapping function to mixer unit code. - Make connectors control kctl struct const. - Little endian to cpu conversion in several places. - Sing off and add Fixes tag to fixup commit. - Remove flex-array for a struct that is used statically. Now that the UAC3 patch [1] has made it to linux-next I have some extra features to make a UAC3 device fully work in Linux. Including Jack insertion control that I have put on top of this other patch [2] for UAC2. Also adding support for the UAC3 Mixer Unit which is most likely to appear in most headset type devices. UAC3 devices also require to have a Basic Audio Device (BADD) in a separate config for which both Ruslan Bilovol and myself have submited different approaches[3][4] but I don't know what the final merge will be. Once there is official support for BADD, we'll need to test it with an actual UAC3 device to confirm it all wokrs. All this features are tested with an actual UAC3 device that is still in development. For this patch series, only the legacy config (#1. UAC1/UAC2) and the UAC3 config have been tested. The BADD config is only tested using and updated verison of [4]. [1]: https://patchwork.kernel.org/patch/10298179/ [2]: https://patchwork.kernel.org/patch/10305847/ [3]: https://patchwork.kernel.org/patch/10340851/ [4]: https://www.spinics.net/lists/alsa-devel/msg71617.html Based on linux-next tag: next-20180420 Jorge Sanjuan (3): ALSA: usb-audio: UAC3. Add support for mixer unit. ALSA: usb-audio: Use Class Specific EP for UAC3 devices. ALSA: usb-audio: UAC3 Add support for connector insertion. Michael Drake (1): ALSA: usb-audio: ADC3: Fix channel mapping conversion for ADC3. include/linux/usb/audio-v2.h | 7 ++ include/linux/usb/audio-v3.h | 14 +++ include/uapi/linux/usb/audio.h | 13 ++- sound/usb/mixer.c | 195 +++++++++++++++++++++++++++++++++++++---- sound/usb/stream.c | 11 ++- 5 files changed, 217 insertions(+), 23 deletions(-) -- 2.11.0