Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1886208imm; Thu, 14 Jun 2018 05:34:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJhhueGUX7p4Uc//2Yp6/opCDx6ELo8aQP5NDq1JPMQ1Ut28Id/kBCPzpiwGMeCegdV+FcJ X-Received: by 2002:a62:4bc8:: with SMTP id d69-v6mr9389226pfj.244.1528979699698; Thu, 14 Jun 2018 05:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528979699; cv=none; d=google.com; s=arc-20160816; b=J2L6GNE0fFLzs9ZhJ7VEncfyeIQElEaASah7HR63N8hU+PBO80DI3wcQoJCT58TxD6 Jud1iTzeMoK4XG4ERP/y526jveA/ircTfyjRxu1VDEC1XIsd/PYzmE/1ZH6ZOTucFvTe qtugxFo0SqAfyncvDY1DgHQAyiF6nl49KjeMBCKnqElpOZYQ4Tk/8f3v48T447ZxgsK9 g1mDZpMTmvgPH8f8Y7PQDjv+yBiygdy9ieyqLatDNd44zjUt7tHnDV9Tep6S1DwRURnq qmwvQ534oN8F3+TnkzXJ4LSBAm3eHiOCm4xC7xdoAJWL5/NGqUnwHcSE81QOlejcc35C cEQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=Szg7mAX+xl65G3CI+9Ns90lhMmEGurhCVD6yldY1BhE=; b=dQZqDfGk3GccEErZKlG5urbK9pkq8936CCPD6eHvPQnZdUJ5hWUGcOTs1hu97SMXFT bh4BCNLknQz+kYscMMRgKu8EkI1JogewIw+jBu3Rkert+SkId8b9vq0upPaeGRpT75hK nRJmOKm35bMJTCwwCULta1lnfO4DqQ1GKcJEhJ83OKvAN4qyOLDTVo0kAah9Cefd/F50 TjWDFwziAAXK9Py7XUQ5F8NWRBIj/ee7IDU5fV4vsNqMRrnqp8CR6QNPOhoQuyakDpKv KAdOCwcXMKWDJ89mG1aZvuay8LAkWU4F6EUt/IOMYFW0moA1bSflr+ySWSHa3dNM8KSN GRig== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24-v6si4257003pgn.194.2018.06.14.05.34.44; Thu, 14 Jun 2018 05:34:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755097AbeFNMeF (ORCPT + 99 others); Thu, 14 Jun 2018 08:34:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:43454 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754809AbeFNMeE (ORCPT ); Thu, 14 Jun 2018 08:34:04 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 180D1AB08; Thu, 14 Jun 2018 12:34:03 +0000 (UTC) Date: Thu, 14 Jun 2018 14:34:02 +0200 Message-ID: From: Takashi Iwai To: Jorge Sanjuan Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, ruslan.bilovol@gmail.com Subject: Re: [PATCH 2/2] ALSA: usb-audio: UAC3. Add insertion control for BADD. In-Reply-To: <20180612143201.29988-3-jorge.sanjuan@codethink.co.uk> References: <20180612143201.29988-1-jorge.sanjuan@codethink.co.uk> <20180612143201.29988-3-jorge.sanjuan@codethink.co.uk> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Jun 2018 16:32:01 +0200, Jorge Sanjuan wrote: > > The HEADSET ADAPTER profile for BADD devices is meant to support > Insertion Control for the Input and Output Terminals of the headset. > Furthermore, this profile may also include the interrupt status pipe > to report changes on these terminals. > > This patch creates the jack-detect controls for the Headset Adapter > profile and enables the interrupt status pipe creation for BADD devices. > > Signed-off-by: Jorge Sanjuan The changes look good, but I'd prefer splitting this: - A preliminary work to change get_connector_control_name() and build_connector_control() to receive usb_mixer_interface; this is no functional change - Add build_connector_control() calls for UAC3 BADD - Apply snd_usb_mixer_status_create() for UAC3 BADD, too thanks, Takashi