From patchwork Mon Oct 15 11:21:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 148819 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3667809lji; Mon, 15 Oct 2018 04:22:05 -0700 (PDT) X-Google-Smtp-Source: ACcGV61/z0IhYWaDdYqWBLFHObJ5hAO+++wqK+QGzpgfa5COKiq5m12w58ieshmKca7i5vhkryn+ X-Received: by 2002:a5d:5210:: with SMTP id j16-v6mr13379784wrv.290.1539602525163; Mon, 15 Oct 2018 04:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539602525; cv=none; d=google.com; s=arc-20160816; b=lFmq3C0ubjghQIkXR+woaBajPTiHdizmVFimGUMMXCu+OmfU+rUI7qqHaecRTObwPC 170LwHNrpfD7Kg/AHy2S28YFYBAuiyoZEM1Pui51TmYBjCxLWNrxX9+s1kIttpN6FsPs ybT3fcYMrD/r4orCN7oLI72n50XmEgsfqeHQMHALYPYnTAV9ZmCcJQScEBQd0bdHmCvb aQiUm9J5aV6K7c5PM/YZ0JGHU6k8f1fyq619h9ErMLWV5dSsPm9t7iIPsGKqvstLu3pE JSxOEVradmkHHGEdintT/LF7SYsEE8+qWlR43Neg2jOG2qGxkJpM08E6PFfc3UrKSF62 0jXw== 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; bh=ZecpO4wm45EU/L5s9XefPoS1c6e6i2aofEuVncAWnUw=; b=FSwmQlwLwhoNH1DHj6WjZ+Xn8xXPA2yF+PqVXm8fvSEvpoUGGelUn6LELdDCJpg+Ps Bk9WNjkzEQJn8R8EX7NPbAgBxrHDztBMyfMJJuUW8E51u7bsRBNqLR3SRLlVHfpfbdNf HbTPF/jApw/Xyq4iQECAAPYlkrMoA7eVYw3I8SeVVLtOgG9oWwHFLaRNJv/6OzNn4CvN N5CHcNNv0MHGE2stnMo1d/NompaeTSyMe+cJbIfWvNeCUn3bkXjP/p7z8VQHxA2zLsk0 s4jF1ctDLsjmmcXSUPuk23GxEydeIgruZrmBDKWafvGhKnh0fOTEJzxtNUZIQcaFxAKM yg7Q== 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="PysS4s0/"; 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 194-v6si7468284wms.62.2018.10.15.04.22.04; Mon, 15 Oct 2018 04:22:05 -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="PysS4s0/"; 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 EAE222678FD; Mon, 15 Oct 2018 13:22:03 +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 F21422678FD; Mon, 15 Oct 2018 13:22:00 +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=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE 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 268822678FB for ; Mon, 15 Oct 2018 13:21:57 +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=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 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) Cc: , alsa-devel@alsa-project.org, Kuninori Morimoto , Liam Girdwood , open list , djkurtz@chromium.org, Takashi Iwai , Mark Brown , Wei Yongjun , "Mukunda, Vijendar" , Alex Deucher , akshu.agrawal@amd.com Subject: [alsa-devel] Applied "ASoC: AMD: Add SND_JACK_LINEOUT jack type" 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: 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(-) -- 2.19.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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);