From patchwork Wed Jun 27 11:32:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 140321 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp744484ljj; Wed, 27 Jun 2018 04:32:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfpTWW+OzarMvCBkw3M+OpsQ9yIleLLRTHCQDWw48uqAajWptDNBN3VZFs3mL/gP9UFUkt9 X-Received: by 2002:a5d:4392:: with SMTP id i18-v6mr5112490wrq.156.1530099140472; Wed, 27 Jun 2018 04:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530099140; cv=none; d=google.com; s=arc-20160816; b=rObFUA5hh+cDC/nLFoszACVXSR15sdxdkgGUvOtufyYFKN+ZSDeKdb+nFXaltGrb1X bCnedbIkuvQYPdDbuwUwc2baitdjUzj+FBH7TGDzFVI+lN836WshwklJjlQ2hzKASd5j e8czCr3WD87vWAoPs4Py1H/13fiw7V7dtyGrG5HqAnNJLqqxe0RMXPM/RUrX7f93IIo/ VNoibx3e01gXQAi8XQaYL1IC1tuSvlg6ApZIsHrJVaF3UDhOKGptpsFtJEla8tH+YnHU CEzF5Jpfynb/LWWQe2jFC/N6BBWrWmNWG1xoGyXt1YvL8jWNm71H/GlZFPKznL+itdQl +TpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=NqX42HO/qNlqUBvQWuHLomhlmhsTQBnt2Ko9njAkMA8=; b=tuaQq8RRQgQKOssjpdZ4COc6NJ0Hgq+sOg2burbLWaC98D+nVRfhgo5m2hSAhy3FeC dgfi32SpX+lkRJI6Onlq2NRromXIWxjJGOUOSGmv9r0X0BF/p65YHl44lhq17wrr5zN6 Xe7dHO6NQFJe65fV29RukYBK+3o0U2CHX5REvfxKmE+Xj9g+rHHMSRQ76FMib6YspLIm n60/LvVaLp856INGHokWHbNR99NA4TbxZ586aHEcaBMq7JZjvVdW2DtWqo9WziMuoUYd WbIxSta2LCysjRsxu73Vz7BHbxy0rBmJEYJRLkt3nVWVkIbhEzHT2mNB2ASLf4a+Q2L5 xBkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=RTvLxmO0; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id p12-v6si3526796wrr.182.2018.06.27.04.32.20; Wed, 27 Jun 2018 04:32:20 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=RTvLxmO0; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 398AD2679C5; Wed, 27 Jun 2018 13:32:18 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 508282679C5; Wed, 27 Jun 2018 13:32:15 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: * X-Spam-Status: No, score=1.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id ACF102679C1 for ; Wed, 27 Jun 2018 13:32:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=Bssx4yh9Na4bPab3akY+x9eJnM6i5yJS4+0S7JDLMmY=; b=RTvLxmO0I8LC xyjBXCweM18eEA7nwH16ldMHhNtqRXkR9FgMFy++N4GCOr9VSEgKe/N7NoN7MdxAmsHQx7P1YaiZL J1ot1KNi3t4vjthTLDp2T3NSwSXWuACsXOjUZKlYJcW1rgXbRCHhZGlWaVYadkFpatyQVoCkPbKWi NaXYY=; Received: from 188.29.164.103.threembb.co.uk ([188.29.164.103] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fY8gG-0002x2-Ki; Wed, 27 Jun 2018 11:32:12 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id B697B440070; Wed, 27 Jun 2018 12:32:11 +0100 (BST) From: Mark Brown To: Hans de Goede In-Reply-To: <20180624140634.16835-3-hdegoede@redhat.com> Message-Id: <20180627113211.B697B440070@finisterre.ee.mobilebroadband> Date: Wed, 27 Jun 2018 12:32:11 +0100 (BST) Cc: Oder Chiou , alsa-devel@alsa-project.org, Pierre-Louis Bossart , Liam Girdwood , Mark Brown , Carlo Caione , Bard Liao Subject: [alsa-devel] Applied "ASoC: Intel: bytcr_rt5651: Change default input map from in2 to in1" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: Intel: bytcr_rt5651: Change default input map from in2 to in1 has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 10876d24eb40c6bfaa0aabd97e3e143258176c53 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 24 Jun 2018 16:06:27 +0200 Subject: [PATCH] ASoC: Intel: bytcr_rt5651: Change default input map from in2 to in1 Further testing on all 6 model x86 tablets with a rt5651 which I have access to for testing has shown that their single (mono) microphone is connected to both IN1 *and* IN2. The previous default mapping of IN2 was based on testing on the same 6 tablets, where the internal mic works fine with a mapping of IN2. But it works fine too with a mapping of IN1. This commit changes the default input mapping to to use IN1 instead of IN2, to match the mapping used for the other mono devices in the DMI quirk table. So that we need less different mappings. The same change is made to the Chuwi Vi8 Plus quirks, which is one of the 6 models tested. This is a preparation patch for simplifying the maps in a follow-up commit. Signed-off-by: Hans de Goede Reviewed-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- sound/soc/intel/boards/bytcr_rt5651.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.17.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/boards/bytcr_rt5651.c b/sound/soc/intel/boards/bytcr_rt5651.c index 735b8312e275..910890de38b0 100644 --- a/sound/soc/intel/boards/bytcr_rt5651.c +++ b/sound/soc/intel/boards/bytcr_rt5651.c @@ -90,9 +90,9 @@ struct byt_rt5651_private { struct snd_soc_jack jack; }; -/* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */ +/* Default: jack-detect on JD1_1, internal mic on in1, headsetmic on in3 */ static unsigned long byt_rt5651_quirk = BYT_RT5651_DEFAULT_QUIRKS | - BYT_RT5651_IN2_HS_IN3_MAP; + BYT_RT5651_IN1_HS_IN3_MAP; static void log_quirks(struct device *dev) { @@ -392,7 +392,7 @@ static const struct dmi_system_id byt_rt5651_quirk_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "D2D3_Vi8A1"), }, .driver_data = (void *)(BYT_RT5651_DEFAULT_QUIRKS | - BYT_RT5651_IN2_HS_IN3_MAP), + BYT_RT5651_IN1_HS_IN3_MAP), }, { /* VIOS LTH17 */