Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5416620imm; Tue, 12 Jun 2018 07:33:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLrpYhFzxf/FbXb3U45g+ktwx7J4Co+jOLN3uSRZR0ETrzXIuPthsg2QO2vXe6d3yeLkPiz X-Received: by 2002:a17:902:1101:: with SMTP id d1-v6mr679885pla.147.1528814004734; Tue, 12 Jun 2018 07:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528814004; cv=none; d=google.com; s=arc-20160816; b=KkVJVkrKvId6AZlmbboF4e0Z+UqzXexxT2Ney4QYVayJSoWmDDRkLDEePCvcgAnNQg uUhXkyg/7DeCkUtJdiFUr40JTTN3yPUc7fALAEEbzWolDk0STzHUoHm2GQzXUbfG2rcU EgR5OcdH01q7uoB7Y6W1IOfuR1DgETQbdd2lbxTFiG6LVbYRH5Wm6cEHiOTM9ckiXfu2 iCqwhj6sG++W15oBy2sMGJDAlYIOA83eBrsftmli6HoEzz1ppu0jJdG+w/TCDQVuRlr+ hItU5bLrNnZcO13E/dzlsaYLWhjNtXbqT2nriZ3ig9H9XJSmcbE/hmG4SFaI2eoCM2ef BOuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=H74uCaskOwDp5ag2CEsUZ+YRFj/21J7jPP1lnVkKcR8=; b=mvQCsB/LKNwBS7txDIFzC4uSwSaS/4uYUulVp2j1j8YtrtieBgPZVV31qJTMqmFZf/ TFBuxmZO4bj18wOADcW+TICX5vtlLZ5+I3o3+420ecUyyIwd9v1H5bq7JCT4DUIntdEH bfvaxUCBwebdALFZFuOditydgLF6kt3c8NvOi6kFyGoOXGygfInxG5X2rWaRKiYTg6FU Pm1vWA/5W3WWetwjhRY4NtkAd0VxQOcLYvoIN1xkEu9M3SwI7sNgJJ3YhY7y2P2j37Sn BL6SW2r2wUsY7qTUH3tdYC4/Bgc9u+V6lHdrR/YTOdmhQNIjbsgRyhatg/4vzPKRSkVH aDyw== 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 h189-v6si232792pge.266.2018.06.12.07.33.10; Tue, 12 Jun 2018 07:33:24 -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 S1754375AbeFLOcY (ORCPT + 99 others); Tue, 12 Jun 2018 10:32:24 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:49581 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754312AbeFLOcW (ORCPT ); Tue, 12 Jun 2018 10:32:22 -0400 Received: from [148.252.241.226] (helo=ct-lt-1121.office.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1fSkLK-0000OB-HG; Tue, 12 Jun 2018 15:32:18 +0100 From: Jorge Sanjuan To: tiwai@suse.de Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, ruslan.bilovol@gmail.com Subject: [PATCH 0/2] ALSA: usb-audio: Insertion Control for BADD Adaptors. Date: Tue, 12 Jun 2018 15:31:59 +0100 Message-Id: <20180612143201.29988-1-jorge.sanjuan@codethink.co.uk> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds support for the Insertion Control for BADD devices (subset of UAC3). This control is only pressent in the HEADSET ADAPTER BADD profile. The USB interrupt pipe shall be present for this profile so the status pipe creation should also happen for BADD devices. Also, the bi-directional type codes have been defined so they can be used as inferred values for the Input and Output terminals for this adapter profile. -- Based on tag: next-20180612 Jorge Sanjuan (2): ALSA: usb-audio: Add bi-directional terminal types. ALSA: usb-audio: UAC3. Add insertion control for BADD. include/uapi/linux/usb/audio.h | 8 ++++++++ sound/usb/mixer.c | 45 ++++++++++++++++++++++++++++++------------ 2 files changed, 40 insertions(+), 13 deletions(-) -- 2.11.0