Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp466056imm; Mon, 21 May 2018 08:52:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoZF45JIxsHN8FnAT60ZEmJCQzJHPAADRs3CcbkSLd7K1iYGCKCu+Yy9vs102Bt8Aw8xpiv X-Received: by 2002:a62:4b16:: with SMTP id y22-v6mr20635154pfa.29.1526917972033; Mon, 21 May 2018 08:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526917972; cv=none; d=google.com; s=arc-20160816; b=wl+smnGYxDQE+y3Pcm6dVC8WixQo1xHUlALIazhkfBioM8mpD75R0ku6rTiLmtvlrZ zxjYXwr1C52Z4hVf/qEHhH7YkAnasNV8xhaKp064rfdqd7mIZwtuJoRFQb2glghPUvTJ nA51YNrIvXDBkgkz0eZvU3KUeFvKP3g1KXD1PzLmePOMJvTPM+xBdVPd46w+7tlpjqMR nM3cmBVHbxPLWk4pgEGcdgZvQrXvZWfOLO2eOr1bxOdmpuJCji33IQmhQ42oZIvGC1DM rY80C/eUFP4AnM7XojZXQ+vQV/l6XlXr6hxeSmzVcuvmfdHveX1RabXy8uYb+ct2vzuG vGvw== 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:arc-authentication-results; bh=ewrCUOGFJDTOyKS8M9r8qO2/MNvYyio2A3UHHC/5q74=; b=mvdNlH7lIeOHCNcKFrEVECrHZwnaZLQpGLYi04jq15Fz4vq+MYzmfgGpfa8kPq+2bA PiKEZD9nh024k2qDf1R86xk5iLnRsX0tl5JeOJL43+GTmrn7pE6OXsc0pyqyMWUvmxFT zE7e/tylgLx4EY+fyL3K2ofSxOPTFqpm7W34aHILHf/g1rNLrQxebUr+Q6S8uFfXvXN5 hAAxJcUQ2HnpRjWB6DM05/bMmcqznD9Jn4KVpvXnm2nmglTfOttVHnBGjQR0FFBQ2wk4 ov5qekPmhNm75x4ESNbGImCsyWz46DEH2gI1E+aJQY1c0fZnDU9oBMMNmE8Xbur7cpLp JbPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=GVXqcZy7; 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 b5-v6si13194705pli.129.2018.05.21.08.52.37; Mon, 21 May 2018 08:52:51 -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=GVXqcZy7; 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 S1753212AbeEUPwD (ORCPT + 99 others); Mon, 21 May 2018 11:52:03 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:55110 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753245AbeEUPs3 (ORCPT ); Mon, 21 May 2018 11:48:29 -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=ewrCUOGFJDTOyKS8M9r8qO2/MNvYyio2A3UHHC/5q74=; b=GVXqcZy75Jlm 5EyPPUgJ8eosrMGNf96wXzEq8Gwge3dlKKKWfXUpYmjg9/e+brmlgmjXZUgBX0ZzAQldIMLUpyJ6M OQgeVP3Qek9tlpM12mwhnE3MQ7e+TAhMjCEQBmGIwPmF4wVhm5ou8ps+Yg9YUb+CHjKU1o55HPzmY ShuOE=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKn2x-00012i-E6; Mon, 21 May 2018 15:48:27 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fKn2x-0007HJ-0U; Mon, 21 May 2018 16:48:27 +0100 From: Mark Brown To: Akshu Agrawal Cc: Vijendar Mukunda , Mark Brown , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Kuninori Morimoto , Liam Girdwood , open list , Takashi Iwai , Mark Brown , Wei Yongjun , Vijendar Mukunda , Alex Deucher , alsa-devel@alsa-project.org Subject: Applied "ASoC: AMD: Fix clocks in CZ DA7219 machine driver" to the asoc tree In-Reply-To: <1524741374-13523-9-git-send-email-Vijendar.Mukunda@amd.com> Message-Id: Date: Mon, 21 May 2018 16:48:27 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: AMD: Fix clocks in CZ DA7219 machine driver 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 6e554074955b453e8c8d671ec523d273703f2a59 Mon Sep 17 00:00:00 2001 From: Akshu Agrawal Date: Tue, 8 May 2018 10:17:51 +0530 Subject: [PATCH] ASoC: AMD: Fix clocks in CZ DA7219 machine driver System clock on the platform is 25Mhz and not 24Mhz. PLL_OUT for da7219 codec to use DA7219_PLL_FREQ_OUT_98304 as it is for 48KHz SR. Signed-off-by: Akshu Agrawal Signed-off-by: Vijendar Mukunda Reviewed-by: Daniel Kurtz Signed-off-by: Mark Brown --- sound/soc/amd/acp-da7219-max98357a.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index 6495eedc3d4c..fa5ad5b468a2 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -39,8 +39,7 @@ #include "../codecs/da7219.h" #include "../codecs/da7219-aad.h" -#define CZ_PLAT_CLK 24000000 -#define MCLK_RATE 24576000 +#define CZ_PLAT_CLK 25000000 #define DUAL_CHANNEL 2 static struct snd_soc_jack cz_jack; @@ -63,7 +62,7 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) } ret = snd_soc_dai_set_pll(codec_dai, 0, DA7219_SYSCLK_PLL, - CZ_PLAT_CLK, MCLK_RATE); + CZ_PLAT_CLK, DA7219_PLL_FREQ_OUT_98304); if (ret < 0) { dev_err(rtd->dev, "can't set codec pll: %d\n", ret); return ret; -- 2.17.0