Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp59151pxh; Thu, 7 Apr 2022 13:56:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9ZTyGNR1L6fwVN7Ju1rCKAt0Wy3EEKkoDH77fw//WtxERuhXo2Jrw/0VFvnWu0NAAk0XB X-Received: by 2002:a17:90a:bf15:b0:1cb:128e:8f91 with SMTP id c21-20020a17090abf1500b001cb128e8f91mr5239444pjs.215.1649365017564; Thu, 07 Apr 2022 13:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649365017; cv=none; d=google.com; s=arc-20160816; b=IZbk3KLodCmvVaBGyu0fiVuuSyB9jXXaGBUz+NI3IOrLU27YZVXYfhdKOEZDy/7Uoa hVqn7Ac8xvMXJZCK/zYREYk1B34Rs3Bn0ZEUEhpi0I4QwKN8x2jnjB6rnH5M2dEwmyD4 q779mtrrFW5PpHmUgbl6tZe0V+1LwhTxxwS8xT7Oy9h8CGqwOFTd6er7Art1+mhRhHvS aHO+PTJeP7lFMEM1nFcjFVsEUbU19rf+pNkcpvLkbRTQgjuyoBKNszmYNM3l5sIsLAGp QElaQezucdq/v7MgUKfluCXlPZLUY1CveGm3W0mYxuyBJS2pJWw2XvGdtVrroFZ0Q5cj kOaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=RcKiSxvjai6vca97/jDKiyRuC8djJRFQXLLav5EGMh0=; b=zJGV71eF6qdrutItr4Fn8Ouoct262XikZG188ZmkIz+j6VLyDQiDqkshaqjnkj6MzG S6+Lu1UUOsIYM3nJbDjTfvbHpUUmjzQ6hYnTIE9KGLKEtgznVacPfJhGn3Ich6+Wi/Wo OZCi6YXcKtFEsBLT17bXksXLklFHSynfZsH4s6dwFnEQqMTb9FsvkLIplISU9FohUIgq 3nWXVl8sIAl3ZvI2Bzl/EKuAAzUJzyBW783GvgCKYWj+tfjtwdBLiwlxG3IyUtmjnsy4 4hzv2H34zn2thUqlWR/HkP6ESv29vQ5GS0I3w2VoxaWiiVbBILNfDmttFWB+kKRpwepD gMJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WeeIz+LT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id kb16-20020a17090ae7d000b001ca9d4218b2si3012230pjb.175.2022.04.07.13.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WeeIz+LT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0942C40A717; Thu, 7 Apr 2022 12:59:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236637AbiDGStj (ORCPT + 99 others); Thu, 7 Apr 2022 14:49:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiDGSth (ORCPT ); Thu, 7 Apr 2022 14:49:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D3325D for ; Thu, 7 Apr 2022 11:47:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 19662B8260F for ; Thu, 7 Apr 2022 18:47:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A729C385A4; Thu, 7 Apr 2022 18:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649357254; bh=SVrHOFOrp4LkSdxf9IrDTGBKQw2pW5xOGs2OcPhHsLI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WeeIz+LTk9Khndp+7GXzQ84jQ5ZQVEDaV71Nd4ySkPevv8V5xyAqR60zMiDUrVK0V Wia4OdAcUABKcolcbzNqWkDDSQiN2dzZxjUWHmGHw85ZJDYssq5llnQ+pNAxpDAwKo yrxmRBXninI7xL1hM2BFCgEJplx8LTib1Qc1pmXPGGoO9DFSlJCHHsBe76CMZSF4/g kuQRHY08smB1uQJ+6JNrc93gagqQSMMi4EUcTmgBophBZuvIyR7TA2X/oECBLNKdkT amQjgDCqW+tODzyuUOAY3NZ3EJDirmJuTGw+B/fcqJ4VitYdCfrFPmgZ9WexHFC/Lm SDAJSe8NJCDeQ== Date: Thu, 7 Apr 2022 20:47:28 +0200 From: Mauro Carvalho Chehab To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, Hans de Goede , =?UTF-8?B?UMOpdGVy?= Ujfalusi , Bard Liao , Cezary Rojewski , Jaroslav Kysela , Jie Yang , Liam Girdwood , Mark Brown , Takashi Iwai , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 3/4] ASoC: Intel: sof_es8336: add a quirk for headset at mic1 port Message-ID: <20220407204728.7710ebfa@coco.lan> In-Reply-To: <0dac70ef-1355-3379-ef41-eec6467886b1@linux.intel.com> References: <0dac70ef-1355-3379-ef41-eec6467886b1@linux.intel.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 6 Apr 2022 22:08:53 -0500 Pierre-Louis Bossart escreveu: > > static int sof_es8316_speaker_power_event(struct snd_soc_dapm_widget *w, > > @@ -145,13 +148,23 @@ static const struct snd_soc_dapm_route sof_es8316_audio_map[] = { > > {"Speaker", NULL, "HPOL"}, > > {"Speaker", NULL, "HPOR"}, > > {"Speaker", NULL, "Speaker Power"}, > > + > > + {"Differential Mux", "lin1-rin1", "MIC1"}, > > + {"Differential Mux", "lin2-rin2", "MIC2"}, > > + {"Differential Mux", "lin1-rin1 with 20db Boost", "MIC1"}, > > + {"Differential Mux", "lin2-rin2 with 20db Boost", "MIC2"}, > > this is surprising, shouldn't this be part of the codec driver? > > The part that should be machine-specific is really how MIC1 or MIC2 are > connected (as done below), but the routes above seem machine-independent? Yeah, this should be there... and it is there already ;-) Tested without it and it still works. So, I'll just drop the above. Thanks, Mauro