From patchwork Tue Mar 20 01:21:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 132106 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp253217ljb; Mon, 19 Mar 2018 18:21:54 -0700 (PDT) X-Google-Smtp-Source: AG47ELtnq/tISwenwS/FWTPFBb9NAnt5CgHgpXj7iNetjefxO6ILyk2CfWVDHa7vDC/plCE9B4eg X-Received: by 10.223.224.130 with SMTP id c2mr10721938wri.220.1521508914936; Mon, 19 Mar 2018 18:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521508914; cv=none; d=google.com; s=arc-20160816; b=CxRED44SOmwbgDiG78SVB8WO7glGrijYg2OuqYGpSxUWha/n+6hPDM1ZkRZ0o6OX3c NtlzS7DAiWp/1r9AV0YN2SQ8exWlSrweLjo/ejEz3cNDqEm+eg5/chjD7Bgt35HNIOmz gTizcc1bJ6gbGE57dEu/oGvQR/yNDjitfaEEFpxL6ezFqzzhI/IQem6oyzLHWpq/PlKd L0d9Ur8GT2mLJvgOowZdccc8M2hkEizyCZJzRepG0CmevymJ34jgYsp6KhQtXhkm+iYi O9wX6nsWa1oEiMP8vz5KvWIruQqT6l6W/VkWT7LKDrojgYzOCWKLHQo3IHGOst146eJa a5vw== 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=Wg6Tmj1C/RERf9my9dKe5ex8rFmvyBB9inInd/dz1t4=; b=zFV3fxR1XLwisw0/n9bGuqNWhYmTqhfxemoBIctL6q4Ly7hk4s4H9CZuff6m1U74Gy VS7/W4kRtXSdZWD+OZ36Q52ElKPRUbja1J6n4zwL/R69GAZBeQfmQ133WeLcFEdbpVWN Wz2w46dXYYIamVw5be9jJ133nwEVwgpKGBjnh7ZSDEf7FbJRcDW7vvpnA3ACXZvS0nNa NAiFAfDsjKDFSVdtfL4tB/9l78Sg75O83gS4M5r+89Bn/quSh9o6Qs/wjzvaoXkOyH7k lhKfkQ3m85bR6A7qLmlLyq9W6PHCBZEp3vPD+kLbf8JrH1Fo9wE/JmM4NyQkqHStjMQb HF1w== 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=aoFl1Kxl; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id h1si370608wre.528.2018.03.19.18.21.54; Mon, 19 Mar 2018 18:21:54 -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=aoFl1Kxl; 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 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id AB614267321; Tue, 20 Mar 2018 02:21:53 +0100 (CET) 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 128AC2672B2; Tue, 20 Mar 2018 02:21:51 +0100 (CET) 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, SPF_PASS, T_RP_MATCHES_RCVD 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 6E0042672B2 for ; Tue, 20 Mar 2018 02:21:49 +0100 (CET) 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=HYRN6wWPTcDNiibIP/OPcvOG7lPJiR979JTH0wYG6uQ=; b=aoFl1Kxlq3cx Md7xM3VSJzzBTohYLOmlMzFfRv8ui2/2mGbHfFmayj5aHmM70fiv6L3RBhr4bqFMAXs0UQ0/R1ap7 nlL3fZPKWVeobgooVKbl2qslHJDsqFw85zt7FKl97Xm31hZitdA9SG+pHTIitFBOyyy2J2fuzNS71 S24v8=; Received: from [218.255.99.6] (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 1ey5yG-0007Ae-AM; Tue, 20 Mar 2018 01:21:48 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 9442E44007A; Tue, 20 Mar 2018 01:21:45 +0000 (GMT) From: Mark Brown To: Akshu Agrawal In-Reply-To: <1520845883-24062-1-git-send-email-akshu.agrawal@amd.com> Message-Id: <20180320012145.9442E44007A@finisterre.ee.mobilebroadband> Date: Tue, 20 Mar 2018 01:21:45 +0000 (GMT) Cc: tiwai@suse.de, alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com, akshu.agrawal@amd.com Subject: [alsa-devel] Applied "ASoC: amd: Use single dai for da7219 playback and capture" 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: Use single dai for da7219 playback and capture 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 f155181d23608acd3fb46d0d6b1507b68ffa436b Mon Sep 17 00:00:00 2001 From: Akshu Agrawal Date: Mon, 19 Mar 2018 11:07:41 +0530 Subject: [PATCH] ASoC: amd: Use single dai for da7219 playback and capture BT I2S is a bi-directional dai, we will use the same cpu dai for playback and capture. TEST=aplay -D hw:0,0 -vv arecord -D hw:0,0 -f dat -d 5 -vv Signed-off-by: Akshu Agrawal Signed-off-by: Mark Brown --- sound/soc/amd/acp-da7219-max98357a.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) -- 2.16.2 _______________________________________________ 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 bbe0f103e6a8..d07c2a1d5d9e 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -124,8 +124,8 @@ static struct snd_soc_ops cz_da7219_cap_ops = { static struct snd_soc_dai_link cz_dai_7219_98357[] = { { - .name = "amd-da7219-play", - .stream_name = "Playback", + .name = "amd-da7219-play-cap", + .stream_name = "Playback and Capture", .platform_name = "acp_audio_dma.0.auto", .cpu_dai_name = "designware-i2s.3.auto", .codec_dai_name = "da7219-hifi", @@ -134,16 +134,6 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = { | SND_SOC_DAIFMT_CBM_CFM, .init = cz_da7219_init, .dpcm_playback = 1, - }, - { - .name = "amd-da7219-cap", - .stream_name = "Capture", - .platform_name = "acp_audio_dma.0.auto", - .cpu_dai_name = "designware-i2s.4.auto", - .codec_dai_name = "da7219-hifi", - .codec_name = "i2c-DLGS7219:00", - .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF - | SND_SOC_DAIFMT_CBM_CFM, .dpcm_capture = 1, .ops = &cz_da7219_cap_ops, },