Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3791994imm; Mon, 15 Oct 2018 04:22:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV6302TQ8u45IHEXoQxoL44E2f/l5Synhp2ZuBnS8guEVe/7+Usge6zm/45W/KtS9B8n1JOxx X-Received: by 2002:a62:5957:: with SMTP id n84-v6mr8122217pfb.176.1539602574762; Mon, 15 Oct 2018 04:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539602574; cv=none; d=google.com; s=arc-20160816; b=FP7H3800oiplcqv6PW9sgkbF+s1XcGY/+5ZGw0nhKLIGZE9z+KsE9PQw4OVvX1xeXq uKTKpSksfPXVOVuCSfj8zy25nDrUymbN9sfBFkKhG7SRa9uzlniUbYuyH6bJMG8XMLFN wyu9+vH+3Eyp8G1y24jP5WZG0mV1tZBse9ILJQqMvPidr+JvgWg7Ss5HimW4yylmsnmn o++itdpIQd6UNmqGhwD4hl8UH94CeyFNNZIKlYCv6Q7clNo/LVIIiNB9oAIU+s2T2xIt 1Hsx6TuFjn1DINsr3lMZ4fGnuFFOlHck5Gxgl5AhGKV5CBQnEAHS/v69hhs3pPtNW+Ij Qnsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=k0zqiqK287VUIzeO1OetnnOW7/3VYKnpUrV9JToR+hw=; b=Tf9Pn/RrDG0xUxA7oM9T5SVZtqz5Pa45sdaZxF7c/TRQ2UXNFwq+lDEcxbzY1meXD/ 9dSdrAuXaLT90yXEugvhTLxxYd2Ad7DWSW1+pq+h0ymplnPVtTUTnv2QzIB+W4vzAArS 40QbKw99A5TotKWKeDdUWuCD4oY7p7g8iFcBcP+gJh8syUWgWG7BDVIC118R4Q3zcU92 bYNvZiDLpMDBHD3YH/Nj76hpbrEDIbGQSrfkGsdYzeCqBvu4IeG9Z+o08K5tO1hzuP+/ VZyn+uBIfhnDsaYJFbn3WCupyNEn3/yeGgsAdCciB+TI96zex4xfP7+v8pqAbWP9rFVn hfpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="PysS4s0/"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6-v6si10832276plf.164.2018.10.15.04.22.38; Mon, 15 Oct 2018 04:22:54 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="PysS4s0/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726631AbeJOTG4 (ORCPT + 99 others); Mon, 15 Oct 2018 15:06:56 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:37946 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbeJOTG4 (ORCPT ); Mon, 15 Oct 2018 15:06:56 -0400 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=k0zqiqK287VUIzeO1OetnnOW7/3VYKnpUrV9JToR+hw=; b=PysS4s0/id4/ fm/k8p2ulhwH5R3ThTCh/Ok9RZIjBvTXoRfc+TkWLTHnjpGfnyXj0Lnsc1rN1c1GLpMGZs5JOwVBz C9zfpa48wC8KOHh4BnZwrSrpyBgiaVlY3fN+2DZ41zUutsWQ462hGO++oICyWP9B56Kal6ZEQ/fwU ecC9A=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gC0wa-000363-AN; Mon, 15 Oct 2018 11:21:52 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 0EDB611224A9; Mon, 15 Oct 2018 12:21:52 +0100 (BST) From: Mark Brown To: Akshu Agrawal Cc: Mark Brown , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Kuninori Morimoto , open list , Takashi Iwai , Liam Girdwood , djkurtz@chromium.org, Mark Brown , Wei Yongjun , "Mukunda, Vijendar" , Alex Deucher , akshu.agrawal@amd.com, alsa-devel@alsa-project.org Subject: Applied "ASoC: AMD: Add SND_JACK_LINEOUT jack type" to the asoc tree In-Reply-To: <1539586502-12516-1-git-send-email-akshu.agrawal@amd.com> Message-Id: <20181015112152.0EDB611224A9@debutante.sirena.org.uk> Date: Mon, 15 Oct 2018 12:21:52 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: AMD: Add SND_JACK_LINEOUT jack type 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 2657c6a9037df1c98eb5dae10dd554ac8c37d38f Mon Sep 17 00:00:00 2001 From: Akshu Agrawal Date: Mon, 15 Oct 2018 12:24:44 +0530 Subject: [PATCH] ASoC: AMD: Add SND_JACK_LINEOUT jack type Some 3 pole connectors report impedance greater than threshold of 1000Ohm. Thus, da7219 reports them as LINEOUT. Adding the SND_JACK_LINEOUT type so that we don't fail to detect any 3 pole jack type. Also, changing SND_JACK_HEADPHONE | SND_JACK_MICROPHONE -> SND_JACK_HEADSET Signed-off-by: Akshu Agrawal Signed-off-by: Mark Brown --- sound/soc/amd/acp-da7219-max98357a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index 717a017f0db6..3f813ea5210a 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -75,7 +75,7 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) da7219_dai_clk = clk_get(component->dev, "da7219-dai-clks"); ret = snd_soc_card_jack_new(card, "Headset Jack", - SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | + SND_JACK_HEADSET | SND_JACK_LINEOUT | SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2 | SND_JACK_BTN_3, &cz_jack, NULL, 0); -- 2.19.0.rc2