Message ID | 1534834795-18494-1-git-send-email-akshu.agrawal@amd.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a1b1e9880f0c2754a5ac416a546d9f295f72eabc |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD86A1390 for <patchwork-alsa-devel@patchwork.kernel.org>; Tue, 21 Aug 2018 07:00:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACE0229CEA for <patchwork-alsa-devel@patchwork.kernel.org>; Tue, 21 Aug 2018 07:00:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A159E29CE1; Tue, 21 Aug 2018 07:00:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BF4429BF0 for <patchwork-alsa-devel@patchwork.kernel.org>; Tue, 21 Aug 2018 07:00:40 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id CC9902676C9; Tue, 21 Aug 2018 09:00:33 +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 16BD526773B; Tue, 21 Aug 2018 09:00:31 +0200 (CEST) Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680054.outbound.protection.outlook.com [40.107.68.54]) by alsa0.perex.cz (Postfix) with ESMTP id BA18B267663 for <alsa-devel@alsa-project.org>; Tue, 21 Aug 2018 09:00:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gY3eGvbulTG+DzLETstPNCCPnLHCvIORz3vboLEAtek=; b=AIaeDI+htICoPHVN3K9XkHLirfOcB3lCwxsvB0z7vfYCd8ZO5KyHiNWG5TVU+/sWhoI4FGaZtvjfujeILQMmWrnkCWsKPNVj//8KZ8WHVEClTblA8rfpHNwMWS82GvLlaD+mDhY7TOIAaaYR3b/lVPiti8D0BFqNhWeR5ahYylw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Akshu.Agrawal@amd.com; Received: from akshu-HP-EliteBook-745-G2.amd.com (202.56.249.162) by SN1PR12MB2366.namprd12.prod.outlook.com (2603:10b6:802:25::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1059.21; Tue, 21 Aug 2018 07:00:18 +0000 From: Akshu Agrawal <akshu.agrawal@amd.com> To: Date: Tue, 21 Aug 2018 12:29:43 +0530 Message-Id: <1534834795-18494-1-git-send-email-akshu.agrawal@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [202.56.249.162] X-ClientProxiedBy: BMXPR01CA0026.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::12) To SN1PR12MB2366.namprd12.prod.outlook.com (2603:10b6:802:25::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b05e61d8-8f48-4e9b-95ad-08d60733c387 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:SN1PR12MB2366; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB2366; 3:qYODT7GnT4jHE/ZkMeuJHGpHwt7F8u+FnXzeK7aaoxuYEr2iQhHFqiMklsgZv4OcVXGipXinN9GT+kGy4BGyWiDTtgQQQvroZInKcODw1zL7xTnLu3NydOWQyO4xCYXDxvDozoR3PI+W48Nn1J0nNS7C+JmBGPcig59J0v6BA7Pu7vGuO31dBDpWzanstVC5yWgQo+Q5EIkROMZ9bQK7foDrKFFC6tlqvu7AXgAzZKICWkTAhCuXBpqOSCBOFOi9; 25:3nnrinJElxlkl9ArYMVTMA5COyekWj6tFv+C543oGcDjNue4HdtTdZOA7BN9r8Eb/wTTV8LwcsoatDmaUub/WWV1h3JxDw3kAFmPTpKUbaZbob0OiiFgRfhLHefXutEBptzDKXbuu7eLXEg8A2K6szajv47JXfEwhqyyp+NLppld73IeDyEpLR9GpAnTO72IVv4kCVuTCh9+pGGDdwmVj10PxIQKRV9oImhEUmYMSMp1VbsWlFsmve0SGSNx+ULLs9IcsrCNl6gGLurrCJNfAKTG5n/DgMmt5I5RMsPItTiy5lrVZKGrXwTA4Tm+aOsLEZXR1KldVY1Lfpb0EJgV2Q==; 31:MA4rVdmoEx2IID8ppEYTbsaSHw4x+eYJxOdF4GO5cu1xCkXp+dvJYEgFYkF9mfyQtDuZhpQDCcO13lXp504RkvrrRe3Ozqy3PjyhdmoWN3QjDhJuBTTe7xmnNJAvPem+D1jL4OP5WunlTszJ7v8i0l6fFycvJxuKYKe8Y6uH5VM18DQSZ9n/IYEKhgozEAiFuWE6UhV5FyDm9uQ+gRLZaZSyJNUcuWaPhSNBdTjttPk= X-MS-TrafficTypeDiagnostic: SN1PR12MB2366: X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB2366; 20:3r2vYXW3+7jS7l7qwAcZrvXZk6r1y8og/EB1yccyRQFp5qddBkRV+S661NfoplMUxv9y7MX2B60E1Ak4GvzU8Qkqq1QOwY1llYPdfkD0i8/rjDpov6jiJ9FFqLfr1vy4HHf8emFQt7RkfCiwdKb4kaB+jZB7B4VaeBV7RYhEm4kz9HXMA7sY9mU1CAVHpGEvbqRb/Ovc36sq2w/dP/UvdRG5tNv7keO3iO0i/kvzE2O0V6lsPtinazPPVXjiwB14h9suj5yb/iGipR8Sy4r23iQhk8kMB+FbpshGtRPCi4/dzbsgdu1fsOqBkaSpDhd7OGZQ8d74vYAJODjAQb7+4V/J/CmbK7vzuvMV/u8DkdVDDMWT6uef9qCVvABZONmQQlvpafiOfUiXdoMvRIxx8PTKDZpNDCLKaf/Mf589JHTZD7r1AUJPR27IKgqCoR5B2NA6qgO7n3J8nE6rMsNzVr8PrkK09o3VzDD73bLhj3pV8A5TpH0M+XHrpo7P2wnz; 4:qw9YGdISwq0tI7CO8iWBWLaZFB/t0yhvXXW/Xo87rktNgkeMYrjfflR6HTJcwl6oPsOBU1rC0Q/w864LKrFVNnOnX3QOm/QnDYPI/bS1yGMI+Ul5cZTuKvCFXc08vsk/ReEkIxBTCz6LErJWq+Md9NXZ8eI5tKvuMK3ECUFKShqTVzGjtnVJHFvcHHe+Ceu/cS0qHzpHHvlpkAdqIq5lO1c1Sz3zZdF7dZ0ngqmj2rz5D1AxVxJgt7GYiebrP00W1xhNxP4JL8L9aFRYF9UWqxoXTw82+0aMXLYdgo3RKFxC4ZVq6RguxNNw2JQ6AwNB X-Microsoft-Antispam-PRVS: <SN1PR12MB236655BF9FED6D4D8AEBF50AF8310@SN1PR12MB2366.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201708071742011)(7699016); SRVR:SN1PR12MB2366; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB2366; X-Forefront-PRVS: 0771670921 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39860400002)(136003)(396003)(376002)(199004)(189003)(81156014)(8936002)(386003)(109986005)(14444005)(81166006)(44832011)(2616005)(7736002)(53936002)(1857600001)(36756003)(25786009)(26005)(486006)(2906002)(39060400002)(6666003)(52116002)(956004)(8676002)(51416003)(3846002)(7696005)(50226002)(305945005)(6116002)(4326008)(105586002)(1671002)(53416004)(106356001)(316002)(5660300001)(97736004)(47776003)(66066001)(68736007)(86362001)(476003)(478600001)(54906003)(16586007)(16526019)(50466002)(48376002)(186003)(6486002)(72206003)(266003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB2366; H:akshu-HP-EliteBook-745-G2.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR12MB2366; 23:uf6N/KmFjEHWBhxwuljxbJRS9v5p2HZ69wMA48//j?= RqsVUdOz2pIRNS2Mn78MdWEY3IqV3o4YrGkRw+etIFTdXfOrCyLANI4zHKJNyWhyEW8o4R1JAN50U44oIMKRi1O41F3sYp+vYUty4jQFAkVVoRnOk5yVU+T/XQo0lAKz2Gi4pmTarEo8L4v9qocLvfpwOiiEMezDWz1QB8US29Cot31d9GbpPt49BIh+j+aXlAhKALjTeUr4TnLgzXM6NG4nPqDpXFwQp3+u7ymZs70k11BtOv4G3PsNIssgejEpSix0xQt/neOuXpH+jJE2338o/BiXci3C8pnN1DIjXXrcfcYiquW/jYd1a9HzoO8+qYSo0AUowatDumgo4LUROB4eJfXITiP8KhuirXSEAFh24IpBwVEFUMMOehfcJ0moBd/XMEPp/rwJfjB9F3I060qk2lJ3/1WPpmdw/eZ/+q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JklXk/sXlBCebOuPBGq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB2366; 20:J6JO3xDlXeOy+dwczntp4+6MlBkiHldulbis+4DeHzNMGu9aS95eT4H2B+N7T7LtZ7K7foTfL/idl+CrpZBRVN+cPv4teGrAyUl5SpmkhbSaMWEN4DTwi0kde5m6nFpOjW0R32QZB448az12sgLaSdQJA3muO8t8w3Om5nj80zc2uhV1WWp1LPO7ebvZPPg1NKttAzmKstM++AL/OjE82XT+7e7TE+dqyfljysXVv8SsB3g3ILix58rg0LimT6i+ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2018 07:00:18.4655 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b05e61d8-8f48-4e9b-95ad-08d60733c387 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB2366 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." <alsa-devel@alsa-project.org>, Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>, open list <linux-kernel@vger.kernel.org>, Takashi Iwai <tiwai@suse.com>, Liam Girdwood <lgirdwood@gmail.com>, djkurtz@chromium.org, Mark Brown <broonie@kernel.org>, Wei Yongjun <weiyongjun1@huawei.com>, "Mukunda, Vijendar" <Vijendar.Mukunda@amd.com>, Alexander.Deucher@amd.com, akshu.agrawal@amd.com Subject: [alsa-devel] [PATCH] ASoC: AMD: Change MCLK to 48Mhz 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ASoC: AMD: Change MCLK to 48Mhz
|
expand
|
On Tue, Aug 21, 2018 at 1:00 AM Akshu Agrawal <akshu.agrawal@amd.com> wrote: > > 25Mhz MCLK which was earlier used was of spread type. > Thus, we were not getting accurate rate. The 48Mhz system > clk is of non-spread type and we are changing to it to get > accurate rate. > > Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> > --- > 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 cf2f648..55d7f61 100644 > --- a/sound/soc/amd/acp-da7219-max98357a.c > +++ b/sound/soc/amd/acp-da7219-max98357a.c > @@ -42,7 +42,7 @@ > #include "../codecs/da7219.h" > #include "../codecs/da7219-aad.h" > > -#define CZ_PLAT_CLK 25000000 > +#define CZ_PLAT_CLK 48000000 > #define DUAL_CHANNEL 2 > > static struct snd_soc_jack cz_jack; > -- > 1.9.1 >
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index cf2f648..55d7f61 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -42,7 +42,7 @@ #include "../codecs/da7219.h" #include "../codecs/da7219-aad.h" -#define CZ_PLAT_CLK 25000000 +#define CZ_PLAT_CLK 48000000 #define DUAL_CHANNEL 2 static struct snd_soc_jack cz_jack;
25Mhz MCLK which was earlier used was of spread type. Thus, we were not getting accurate rate. The 48Mhz system clk is of non-spread type and we are changing to it to get accurate rate. Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com> --- sound/soc/amd/acp-da7219-max98357a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)