Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp724608pxb; Tue, 2 Feb 2021 16:47:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGu4EjELowASgmY3NzWe8wzd7r+yr3nhLmmUDewiYSxThXZVsxhxUY1Wv1WQTEwa4HUqYs X-Received: by 2002:a50:bacb:: with SMTP id x69mr632392ede.39.1612313228583; Tue, 02 Feb 2021 16:47:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313228; cv=none; d=google.com; s=arc-20160816; b=whnQvCq2x5wrtMGHDl2nd75V7rEkrMdubaAiN8R5/DlV7Hu3oiSpAYXY5mEX2OfbQV shsQJaTv0vIj1W0KiJVZJaEw29mN6E88w8AfsbpEPn+p6VvIrDtzXachNd7UTygDuKXU I9yzDacPPgs9ydK8MtcYl1Xbl8JreQz85xDugChH9NGaGCfQwVITu3hCvjGfVrlOIso5 6ZufzlX2DEJ/ctRlk7rYM0uf5TL3a8Xz+yD76xFwyX55LA20Wz6K/LZ2os8dHyyX7o9V r8jUVOBkM3jk4VbqP8ENqA/zya4H9MbgxojmUhv7Uq65UF3+lPfH9vwOZHC+Rs1LGb1x dk8g== 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=OtwuCddhdoLqYekNRZhJwQfNxTOiQoi9+F89OufonEo=; b=hY6z799olxf5+kpuEdvZ6zmRoGOP/vuPrFgDwjpEPNm6UzBL8pibw47Zlk6AN6/D3b wWAPdW/Vz9VppKFZT0z0WIyapQamVohMarCDqvKtk+I/D5aah/8F00/+hFU5ukQ7zq7i 1iH7eDQtf2qjCZLn475SExTgOK/qKwqJlhTi5Ap7T8GbahFZexXPSgdtMFrac/eCSz/n q14YsWQjtBDCv56DtslPLzo5iFwe2rPNmvQi7/mRLcm8EjUSqf4m+E9Kjvbwffl91AZY n70mSIgKWO08fZTM2D/ZFXglr+WapmszAiqfpMVWWd4PxSL6pRT6JK2Zqgdyn0n3Cq3G iXqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="A/Uy4cGa"; 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 e21si213740edy.284.2021.02.02.16.46.43; Tue, 02 Feb 2021 16:47:08 -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="A/Uy4cGa"; 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 S239816AbhBBTe2 (ORCPT + 99 others); Tue, 2 Feb 2021 14:34:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:45424 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233373AbhBBN4r (ORCPT ); Tue, 2 Feb 2021 08:56:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BFF9964F69; Tue, 2 Feb 2021 13:45:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273516; bh=7ASq83ZX7i1Zyd3PI0RCUDI3bn2LF60PGiU8lALbhKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A/Uy4cGaWr3gfmEI+qsTdHw9ep71rMYnW6qLBZ8atdveMkMb97Na9O8JCxVGT7H8W SYV+D+RRHwsZSR2st3NzX/ZY71T9tHOReLFSvvdLp8SlzkwP9sw/CeuvEOoyqr87Ro BG5sx5ip79v+Idi+ahCs1ee//GyVatYR/tjHO/nk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tzung-Bi Shih , Mark Brown Subject: [PATCH 5.10 135/142] ASoC: mediatek: mt8183-da7219: ignore TDM DAI link by default Date: Tue, 2 Feb 2021 14:38:18 +0100 Message-Id: <20210202133003.261667568@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@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: Tzung-Bi Shih commit 4d36ed8eb0f749c9e781e0d3b041a7adeedcdaa9 upstream. hdmi-codec is an optional property. Ignore to bind TDM DAI link if the property isn't specified. Fixes: 5bdbe9771177 ("ASoC: mediatek: mt8183-da7219: use hdmi-codec") Signed-off-by: Tzung-Bi Shih Link: https://lore.kernel.org/r/20210120092237.1553938-3-tzungbi@google.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c +++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c @@ -532,6 +532,7 @@ static struct snd_soc_dai_link mt8183_da .dpcm_playback = 1, .ignore_suspend = 1, .be_hw_params_fixup = mt8183_i2s_hw_params_fixup, + .ignore = 1, .init = mt8183_da7219_max98357_hdmi_init, SND_SOC_DAILINK_REG(tdm), }, @@ -754,8 +755,10 @@ static int mt8183_da7219_max98357_dev_pr } } - if (hdmi_codec && strcmp(dai_link->name, "TDM") == 0) + if (hdmi_codec && strcmp(dai_link->name, "TDM") == 0) { dai_link->codecs->of_node = hdmi_codec; + dai_link->ignore = 0; + } if (!dai_link->platforms->name) dai_link->platforms->of_node = platform_node;