Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3056899ybi; Tue, 2 Jul 2019 01:17:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqx06cZrEibwICjaDNIUbccRtNs2AFtdY8VZ2+DQzIoZyyrie30wGXzWrIhJtP3i1ORfg9uw X-Received: by 2002:a17:902:341:: with SMTP id 59mr33725387pld.20.1562055444100; Tue, 02 Jul 2019 01:17:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562055444; cv=none; d=google.com; s=arc-20160816; b=etUZ4rBdaD2xBsE1vgHgO6X2RnbxIsqw4ImZE6QtScTdFtwv7658KaaL02sTG+3THo K7khY7V429+I3CnKeOXpnaA2EAxSCF4bk8gNLrMlTfb8UtvZC2Ogak8OYRzzFM8uXpOi FMOdCQz8YiuchtW4Nxrt3oo3QDjYXcoV8Ib/D4m8GwyvG9lv5sbDmzM1PT5AznYfrPyo pi+d1As8sV0lV0PVCDgZzdv9/o7k/k+xFwpkX0CXJ8r0eZt1UL/2u3srYrMM9eE7pYe9 g2t2uxIuEUnEUKSefptdc/cIq2W6JeSC9jEex02zUvPCaDMBHR+rh9C9c56jLDDkjD/s kFJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oneFhHVLlNEOJUZYwynW8HJcljUIsf2YuiuS3RdeX2Y=; b=0zAYzGU8wsyaM1WBf7wKhFUqPwqEbu4XBqyMD1XAXqQFYw68Y0WPqesWiGe0GwrJZh LebaaCH0g/IvCcNICBkBxVP1a7fVTwhdvIZkaaystmENB2bViFTpSGaEn4Bv26bFSvuN hehzU6xEOLiV4QVOWdVLsxLRrmPv9qrHiBzZOkASRrnC9g6mh/EK3ZhOfue0SS7x9bp+ jgE/4bl2+jEI1OZxVrsqa0/Ydai0N68AHU6TKB3dbfkGV+EZFfTlw5/O0BbkVQoQzEUx gqKGtYu2C2T3QbCfDZkTU+Fl8QEQGDnJRnz/JBg7/XiLP8o4U67P9YGANKJSBzMrC3mH 1yPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=I9FzxrRS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc10si11923976plb.43.2019.07.02.01.17.09; Tue, 02 Jul 2019 01:17:24 -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=pass header.i=@kernel.org header.s=default header.b=I9FzxrRS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727578AbfGBID7 (ORCPT + 99 others); Tue, 2 Jul 2019 04:03:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:49184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727558AbfGBIDz (ORCPT ); Tue, 2 Jul 2019 04:03:55 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2DB9221479; Tue, 2 Jul 2019 08:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562054634; bh=AUw/e8DAeEZVsRY/zAXPjh9h8Bv7yd0wNjaqHTRNU9c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I9FzxrRSfVURLnfEInxMG2XsLoPkj5qenmWM1eB7yuSxO43frJwcto+1AmjTXGBj+ apooVwG71RR41mtEtAeWKZJUTOjk2EPNULH0EdHmsi2CKGeRup8T4NQ1fYyrIHKRL4 UN0fdqD6uYj9yU6Saw+9ZQxN7ifHFIFM2UbwmBg4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jon Hunter , Thierry Reding , Stephen Boyd Subject: [PATCH 5.1 07/55] clk: tegra210: Fix default rates for HDA clocks Date: Tue, 2 Jul 2019 10:01:15 +0200 Message-Id: <20190702080124.431646492@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190702080124.103022729@linuxfoundation.org> References: <20190702080124.103022729@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jon Hunter commit 9caec6620f25b6d15646bbdb93062c872ba3b56f upstream. Currently the default clock rates for the HDA and HDA2CODEC_2X clocks are both 19.2MHz. However, the default rates for these clocks should actually be 51MHz and 48MHz, respectively. The current clock settings results in a distorted output during audio playback. Correct the default clock rates for these clocks by specifying them in the clock init table for Tegra210. Cc: stable@vger.kernel.org Signed-off-by: Jon Hunter Acked-by: Thierry Reding Signed-off-by: Stephen Boyd Signed-off-by: Greg Kroah-Hartman --- drivers/clk/tegra/clk-tegra210.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/clk/tegra/clk-tegra210.c +++ b/drivers/clk/tegra/clk-tegra210.c @@ -3377,6 +3377,8 @@ static struct tegra_clk_init_table init_ { TEGRA210_CLK_I2S3_SYNC, TEGRA210_CLK_CLK_MAX, 24576000, 0 }, { TEGRA210_CLK_I2S4_SYNC, TEGRA210_CLK_CLK_MAX, 24576000, 0 }, { TEGRA210_CLK_VIMCLK_SYNC, TEGRA210_CLK_CLK_MAX, 24576000, 0 }, + { TEGRA210_CLK_HDA, TEGRA210_CLK_PLL_P, 51000000, 0 }, + { TEGRA210_CLK_HDA2CODEC_2X, TEGRA210_CLK_PLL_P, 48000000, 0 }, /* This MUST be the last entry. */ { TEGRA210_CLK_CLK_MAX, TEGRA210_CLK_CLK_MAX, 0, 0 }, };