Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp649033pxb; Tue, 2 Feb 2021 14:19:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJySnTZcSbyV0foyZ8TutgJzVNBtiKx1hUnyz4RMmgkzijM+NoUFXIL4l8+NY2meGZj7o0Vv X-Received: by 2002:a17:907:2705:: with SMTP id w5mr117105ejk.505.1612304373400; Tue, 02 Feb 2021 14:19:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612304373; cv=none; d=google.com; s=arc-20160816; b=rJ1hCf18djPlps5qfxCXGjlLm5TrIaqi9Yn7ng1lfaA42LWcPKshVVt8aK+A2rHHNw y9FjB1iJ2ahdwBi9Atx9nK+ltt6c9cKa9FjEqY6PtFJ5oY0EQQVoMZ9H04AZa73k1Fbj cdzc4iO0c4U4yqZPwrNBUHTF4LBT7uOY8YOlQMDumbswu7XhbFLEr5G/9kD/YvyUP4GL wF6tCnGGYtxsERdM4Iab46V8LMr9rNlFWJjDwaGS1sB7SukpVLLpqOlxk1t/Zn7TFAyv 9MojNdhBXnohcnT6n/pVFqoHGOUuya3mAUXQ+9UfZd7+C6OyUB75HOd7HKx9llkpJaw/ 4b5w== 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=qM3d7I+iH4IJ8S7dbWwddXYXuZ3MVlHpZ/IFqC9UprI=; b=jC7zGIab5ro8gJTqtOSYQAwVkUNyxzsVTkISCsVLX9RH/EZto/XScnFqLRNUeGgrqB JM9j7uaW6gt7UgO73xb8a34BInUVwZ89jZsTF1SOk5/xlfd6ANU/mPtkpIePDP1nEWgS 9iMXkvR7fU9f8lwT239MhKmWBVtIQto8KuElWCzoNHJIbDqBglvXVfF2WgKJ0tldfb5s Vf7betKjQvxodl+7ypar0lb7voVNyEx7qvAKkBqVT19o7AFutm6FxfU4F/aSp7etpcmH HXdtXjlpelqfj6VTZ9sx0BhoxR1g44aNjcbu+OBSRk+1OTgAMDTkZAGVvqAygtOj3xRF b9Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T7NpZmA/"; 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 p13si48604edj.483.2021.02.02.14.19.04; Tue, 02 Feb 2021 14:19:33 -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="T7NpZmA/"; 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 S233745AbhBBOD2 (ORCPT + 99 others); Tue, 2 Feb 2021 09:03:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:45582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233324AbhBBN44 (ORCPT ); Tue, 2 Feb 2021 08:56:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A01CB64F70; Tue, 2 Feb 2021 13:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273519; bh=eg5nSV8N4BnM0ipc96ORmLCq/o/UWuqc+M126ugyla0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T7NpZmA/XDMFUnjRFW5EhplbXXXh94nM+laYXEsLg4T+3x5bCZpPuwSaANUlsKos0 y/Vs/IBW/7fFYE54Gv7XjUq9L1+tpiNih/cbDX8pHo/RM9BqHH2Dtdr9KuKS2FeVz0 j1jiTu8e2mNhyq0orZBNrHuNgwPJdlYJJvftGTpk= 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 136/142] ASoC: mediatek: mt8183-mt6358: ignore TDM DAI link by default Date: Tue, 2 Feb 2021 14:38:19 +0100 Message-Id: <20210202133003.301095478@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 5ac154443e686b06242aa49de30a12b74ea9ca98 upstream. hdmi-codec is an optional property. Ignore to bind TDM DAI link if the property isn't specified. Fixes: f2024dc55fcb ("ASoC: mediatek: mt8183: use hdmi-codec") Signed-off-by: Tzung-Bi Shih Link: https://lore.kernel.org/r/20210120092237.1553938-2-tzungbi@google.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c +++ b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c @@ -515,6 +515,7 @@ static struct snd_soc_dai_link mt8183_mt .ignore_suspend = 1, .be_hw_params_fixup = mt8183_i2s_hw_params_fixup, .ops = &mt8183_mt6358_tdm_ops, + .ignore = 1, .init = mt8183_mt6358_ts3a227_max98357_hdmi_init, SND_SOC_DAILINK_REG(tdm), }, @@ -661,8 +662,10 @@ mt8183_mt6358_ts3a227_max98357_dev_probe SND_SOC_DAIFMT_CBM_CFM; } - 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;