Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9122065pxu; Mon, 28 Dec 2020 07:10:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXAUdFBaMbZ11V01hF8A/QKqqMz3VarpBstCf4jzq3jQDj9Myy/1VgsnWHrBtyJt5g/uuP X-Received: by 2002:a17:906:6d0b:: with SMTP id m11mr24593648ejr.230.1609168216446; Mon, 28 Dec 2020 07:10:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609168216; cv=none; d=google.com; s=arc-20160816; b=DQU12HpdQezrhC8YbXTknLuaHjEEo2T6gs+v8PwFHIErRb+F3zqLbbb+H9shgfcj6G SFGUHvPG0G6Ijlblv8NnD8I7lLZPQckm7sQAm7rYQxoQNn60nMQsbYZ+sVtOGsst1mBh Lpfwai7kWnfjzUhBgyMOFU0cK+SATcYE4jjicyUol+ODyQzReNMnRC067EEntnWkTS5K 9YzpRK1Sh2B249KV5rG81prvWSXIZHtHK33TAbRCZ/bmDHX7kqGj28Zd+b2JNAVz2fon 3bpWOFFrBLgPZursa56r/K7NiyUti2WdTOs3imtF0aTTLUlBh02CKcIrHL1EONNlVXXI B+Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=nS8MCpb+QbcFOvXJj3oZb2egRH5gfNG8SgXMerp0kFs=; b=GpQbGygMR5eJ+iLDPfOTOQj0z5X/RpdmcX/BOzSl1eqDfPZYJ4KccKcMP2E1isEAsl h/EcpzduapqxOMGrAUerdNVRkAAJ9HBLdR0pqiD2U/KtTLwwqfp+yAIJ7rmqlmSx0Syk Ny50yEtSxF/NQxlCY45a/9T1HjU6NzADx3anXslPzcAhCORZvt2DQwyeMEt1+C0Ls8Fh 8za+c24Mv7LGin3T+BWwoUg1Jp3drpnE1niw9nitv9ftiP7zctQJSu2B8rA0K5rs4ieH nsgMLC4mDQydiP9ESwThc79nhYBM/7EXu5wdTTyIOwsMed0dU0goEahq7Eh++2hc3xHJ fhcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=V6a73Ggq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o16si19919660ejx.217.2020.12.28.07.09.53; Mon, 28 Dec 2020 07:10:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=V6a73Ggq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439433AbgL1PE3 (ORCPT + 99 others); Mon, 28 Dec 2020 10:04:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:46286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438548AbgL1OLr (ORCPT ); Mon, 28 Dec 2020 09:11:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9DDCF205CB; Mon, 28 Dec 2020 14:11:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164667; bh=tXW7QV4c1Q+aqAklPVE0TP/deYlYUF6726RyfvlR2Q4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V6a73Ggq60Us0Fg7m3wCNSeR3uGM3U9IkrNzZ99U0urbfNSCw6ajdSHwBz+X1Dxkd xw+x9/OLZRQyG8P0Dq04sGB3xeR+HcWTn/Ltrlta+hbYinTaOdc46VSBrO4+nMmjBS A9uuYuYZ0bRDbej4xYGmUpHe/Dwp1CUIP+wbSRyM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sathyanarayana Nujella , Pierre-Louis Bossart , Ranjani Sridharan , Mark Brown , Sasha Levin Subject: [PATCH 5.10 256/717] ASoC: Intel: Boards: tgl_max98373: update TDM slot_width Date: Mon, 28 Dec 2020 13:44:14 +0100 Message-Id: <20201228125033.253055748@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sathyanarayana Nujella [ Upstream commit 0d7f2459ae926a964ab211aac413d72074131727 ] Speaker amp's SSP bclk configuration was changed in the topology file to be based on 12.288MHz and dai_ops->hw_params is based on s32le format. But, the TDM slot size remained set to 24 bits. This inconsistency created audible noises and needs to be corrected. This patch updates TDM slot width to 32. Fixes: bc7477fc2ab4 ("ASoC: Intel: Boards: tgl_max98373: Update TDM configuration in hw_params") Signed-off-by: Sathyanarayana Nujella Reviewed-by: Pierre-Louis Bossart Signed-off-by: Ranjani Sridharan Link: https://lore.kernel.org/r/20201201211150.433472-1-ranjani.sridharan@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/sof_maxim_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/intel/boards/sof_maxim_common.c b/sound/soc/intel/boards/sof_maxim_common.c index b6e63ea13d64e..c2a9757181fe1 100644 --- a/sound/soc/intel/boards/sof_maxim_common.c +++ b/sound/soc/intel/boards/sof_maxim_common.c @@ -49,11 +49,11 @@ static int max98373_hw_params(struct snd_pcm_substream *substream, for_each_rtd_codec_dais(rtd, j, codec_dai) { if (!strcmp(codec_dai->component->name, MAX_98373_DEV0_NAME)) { /* DEV0 tdm slot configuration */ - snd_soc_dai_set_tdm_slot(codec_dai, 0x03, 3, 8, 24); + snd_soc_dai_set_tdm_slot(codec_dai, 0x03, 3, 8, 32); } if (!strcmp(codec_dai->component->name, MAX_98373_DEV1_NAME)) { /* DEV1 tdm slot configuration */ - snd_soc_dai_set_tdm_slot(codec_dai, 0x0C, 3, 8, 24); + snd_soc_dai_set_tdm_slot(codec_dai, 0x0C, 3, 8, 32); } } return 0; -- 2.27.0