Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp926755imm; Fri, 11 May 2018 08:26:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrqp39do7wxbw4JZj2X+Rle78ivz3FCtLJ6y7VM5negwwham3dmofKrpDZPNbCHNFpbtEsl X-Received: by 2002:a62:d97:: with SMTP id 23-v6mr6000720pfn.231.1526052381901; Fri, 11 May 2018 08:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526052381; cv=none; d=google.com; s=arc-20160816; b=xg/zuJOLb4CxPQMsCKxKh2YGgrMOyElqNCEsZ9dCcUaoVXW7lsGTf+4MTk/IQIhdl8 4q0EcysHB0p/Twd1AZhhE9ZGvoJ3mT2Ury94FXq8MiHoVgZQXSBreLC+lIWz0MefTj+W zoovbLe9CRdu9pSiaZT4hzFIBNEBeXATNMosItVq5rw1Xhz5pkffsMV6GCeLto1yeCMt MdSo0Pxc3xFaKkcBUEoxt043e9rbHp16leqds94nO7cUASvk7cWZTCVmLwRkAxsLB3aV MSuaRxf5693fqY8ajm+Dn3REmLKXdmDGcjz1BZdFXH17F0m8pFX//y4sUqfC2zbgKmQ+ B6mQ== 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=wdaGZprSM3iEdT/R4D7GLPMY3Sk3xUfa7B7Inb/vfBI=; b=Xv91ZaP+ag7PVBhuVOZCnquOKpqIm4sp2mA7emWttseAGdaSV5NPWial1ZnsnQ/4tW EL7wbEQfkvlrKrVGxMo3QwfUHn78lP693bGos7ZSE8d0DJYFR0Voen1xgrgtzgZqrabY bkw6f3IOigfBD2SVI9q64V/GTPMZFGK9UGFz7nZzZJugqGoPPZiEE7bzlY+yyFajiY35 HC94rt1Aw7fxrfA846FGrJTXbLEpl1JrrGgjG/dvjDwFzesd6HNCf8S8X8IP5W1BN7t+ Lx01T7ViVLNX+bBGt4puJiD94CROptAbm+lcaXOooYpRAphJwHoC9gAOWWz+wmbIL84D ngpg== 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 u15-v6si3621157pfk.82.2018.05.11.08.26.07; Fri, 11 May 2018 08:26:21 -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 S1751634AbeEKPZu (ORCPT + 99 others); Fri, 11 May 2018 11:25:50 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:51683 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbeEKPZr (ORCPT ); Fri, 11 May 2018 11:25:47 -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 1fH9vS-0002XF-UC; Fri, 11 May 2018 16:25:43 +0100 From: Jorge Sanjuan To: tiwai@suse.com Cc: alsa-devel@alsa-project.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, ruslan.bilovol@gmail.com, Jorge Sanjuan Subject: [PATCH v4 0/4] ALSA: usb: UAC3 new features. Date: Fri, 11 May 2018 16:25:33 +0100 Message-Id: <20180511152537.32267-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 v4 Updates: - Removes already applied patch from v2 of this patchset. - Adds small patch to parse Feature Unit number of channels. - Rebased onto latest linux-next tag as today. Now that the UAC3 patch [1] has made it to linux-next I have some extra features to make a UAC3 devices 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]. After an ongoing discussion between Ruslan and myself we have decided that the patch from Ruslan[3] implements a simpler and yet more robust BADD driver. 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 will come in a different patch from Ruslan. [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-20180510 Jorge Sanjuan (4): 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. ALSA: usb-audio: UAC3: Parse Input Terminal number of channels. include/linux/usb/audio-v2.h | 7 ++ include/linux/usb/audio-v3.h | 14 +++ include/uapi/linux/usb/audio.h | 19 +++- sound/usb/mixer.c | 200 ++++++++++++++++++++++++++++++++++++----- sound/usb/stream.c | 9 +- 5 files changed, 222 insertions(+), 27 deletions(-) -- 2.11.0