From patchwork Mon May 21 15:48:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 136494 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp473195lji; Mon, 21 May 2018 08:49:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrQi9IvJlnAPvWAhLuPRdvwKN/SOeFsCx9h50hwXOL6Fe9f2PFZBMv7XNXSKHzVbLZUfnxP X-Received: by 2002:a1c:16ca:: with SMTP id 193-v6mr10639018wmw.37.1526917774277; Mon, 21 May 2018 08:49:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526917774; cv=none; d=google.com; s=arc-20160816; b=bqortW4kVeFFJjxZ6XYp1q/dE3W706JSaisgtdY+Z38g6g4sx1qF6UeVbbH/T6RUrS dXv/NeaFauyc+NoirsK30p2OocGDpndHiuHaxwRzIRRugiUHgoUeiDoc/lihjaDJ9JjO Z0t5YN+KWg7MFiR1BMMG3heGWjJoQD3JRJHp9dZ9yK+URxVtaskk7sn8TnqBq5oKgYpf PLEZB6OCR/ePx5uCm2y9OWEOUz9H4O5U//G8Fho2aaY56KwnYZX9mxxOE8sDfqVjAVZA uNVqGb9yVqrgKF0punSkUNJJ8y49bMrithrHvKnDDJvGPPzMR92TxVejRNqWj8ziBfdY 5mgQ== 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=pqdFlVnujAl0oG5nvRqLNRt/qa7WlDxHfPQek/otItY=; b=Htn3hmF8rtM6wy0C6KcUPxIibAjhKstIrhdeF+X7lTVPVbwucWeESliMgqqOCtD6kp LozdsPdr6oFNCuC8MZuctF7SZUfk1lhrIp34SOSQXvJ2BqqB59FiMYTjZYohPwYkfzvL r1qaqj3dWeSlZbzzC4mVFjxk4hH3uQI6LvVtRpFaA/liaI1TlJkl0RBfadlcItAyyLC5 6Zbtml927xY8m3Rkrm+Zz9bDue017MeFNE+9Kn0YdR4NqOyhkuW6sdSad+hw/stxd3m3 BR/DvOZHZtPMHne3WPaRsJZtx5MSqveXs+3hp+1rnJRBLaSBFWVio3qTjCzUB6GW1DdB Narw== 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=GVXqcZy7; 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 p7-v6si10068377wme.209.2018.05.21.08.49.34; Mon, 21 May 2018 08:49:34 -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=GVXqcZy7; 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 F23CD2676CB; Mon, 21 May 2018 17:48:54 +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 925C12676D7; Mon, 21 May 2018 17:48:47 +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, SPF_PASS 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 E9E672676BF for ; Mon, 21 May 2018 17:48:36 +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=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 In-Reply-To: <1524741374-13523-9-git-send-email-Vijendar.Mukunda@amd.com> Message-Id: Date: Mon, 21 May 2018 16:48:27 +0100 Cc: , alsa-devel@alsa-project.org, Kuninori Morimoto , Takashi Iwai , Liam Girdwood , open list , Mark Brown , Wei Yongjun , Vijendar Mukunda , Alex Deucher Subject: [alsa-devel] Applied "ASoC: AMD: Fix clocks in CZ DA7219 machine driver" 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: 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(-) -- 2.17.0 _______________________________________________ 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 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;