Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2277156pxb; Fri, 17 Sep 2021 06:21:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuTq+A8ehecmISDOSScpH0R6PNTjm6HcFYTFPuukev09qFjUTHE90kwgAZHvRpK7ayh0s5 X-Received: by 2002:a1c:4d05:: with SMTP id o5mr10367218wmh.193.1631884905617; Fri, 17 Sep 2021 06:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631884905; cv=none; d=google.com; s=arc-20160816; b=cjNQsQ1Xs7LSq3fbDLoyfGwfFbigOgpC8sD8UCV/i89GVlyjnAcudwToQYxH4cXsAG Nllwldwm7LUNUl3xEs+ytwPsnzLQDpyzmEVRL99rxYX3lVJH18/ZTN/YSFEohExLwWP5 RmwECblih8Cytk5Q1Lsz1Z3jHOn+o2xtL6ggOUoGXJg7tGXCcR9pTmWe5qd7pUIMgDug atZqVGa7lzHipG8+XGnlXcz/YiYAhxyAS7v5o5F9mqBWsip8nHx8QQA+Dal8wtYfsHOD jkdCTnEs8i66y7f5XSd55OQDzBJGK3S85zCfisIqIKk70PjB4DJyZtiuUEcZ/m98/odm UMmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Mzvb+86vdao26dmxIhQha+ql+xGm47gRUz1FCjBsaVw=; b=viP7GldRXJQAIXAlAq6kHmT9pNOiQ3+RrY1DIjEEhTw7MM1Mmz4jTg3V4Djcc/RVV2 gp86e4QvaJ0S3mHnE9wFY/pFumIssCfpeoxIQqeuFkvJHioRbAyUbKgTesNQAmkXw7po KgtBI1AUfr1DXX9m+k+XZrtM8ls0+V6mg0ipnLMcEuchFd1qNwTe9Rr5f3JFX+bwmjUh zAz95oaTnHtakvnQGSQHd6rLmqP8Fr7KRDGDq7H3jMlnP8dTW1x8ZE7B/8X50tckIV6/ 8v3eerhOeS954Qetp4zjleMg3MX6zmUrDwpzEnO4UDgHhF4pBJWMl0oygJyLm+35j+Bv f/gg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si7047710ejh.534.2021.09.17.06.21.19; Fri, 17 Sep 2021 06:21:45 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240304AbhIQI3f (ORCPT + 99 others); Fri, 17 Sep 2021 04:29:35 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:44782 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S239855AbhIQI3f (ORCPT ); Fri, 17 Sep 2021 04:29:35 -0400 X-UUID: cc715626f5e348429c5db1cec25839aa-20210917 X-UUID: cc715626f5e348429c5db1cec25839aa-20210917 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1344244907; Fri, 17 Sep 2021 16:28:08 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Sep 2021 16:28:07 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 17 Sep 2021 16:28:07 +0800 From: Trevor Wu To: , , CC: , , , , Subject: [PATCH] ASoC: mediatek: mt8195: remove wrong fixup assignment on HDMITX Date: Fri, 17 Sep 2021 16:28:05 +0800 Message-ID: <20210917082805.30898-1-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org S24_LE params fixup is only required for DPTX. Remove fixup ops assignment for HDMITX. Fixes: 40d605df0a7b ("ASoC: mediatek: mt8195: add machine driver with mt6359, rt1019 and rt5682") Signed-off-by: Trevor Wu --- sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c b/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c index 8cd8450409e8..a3fa8efc8f81 100644 --- a/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c +++ b/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c @@ -424,8 +424,8 @@ static int mt8195_hdmi_codec_init(struct snd_soc_pcm_runtime *rtd) return snd_soc_component_set_jack(cmpnt_codec, &priv->hdmi_jack, NULL); } -static int mt8195_hdmitx_dptx_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, - struct snd_pcm_hw_params *params) +static int mt8195_dptx_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, + struct snd_pcm_hw_params *params) { /* fix BE i2s format to 32bit, clean param mask first */ @@ -902,7 +902,7 @@ static struct snd_soc_dai_link mt8195_mt6359_rt1019_rt5682_dai_links[] = { .no_pcm = 1, .dpcm_playback = 1, .ops = &mt8195_dptx_ops, - .be_hw_params_fixup = mt8195_hdmitx_dptx_hw_params_fixup, + .be_hw_params_fixup = mt8195_dptx_hw_params_fixup, SND_SOC_DAILINK_REG(DPTX_BE), }, [DAI_LINK_ETDM1_IN_BE] = { @@ -953,7 +953,6 @@ static struct snd_soc_dai_link mt8195_mt6359_rt1019_rt5682_dai_links[] = { SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS, .dpcm_playback = 1, - .be_hw_params_fixup = mt8195_hdmitx_dptx_hw_params_fixup, SND_SOC_DAILINK_REG(ETDM3_OUT_BE), }, [DAI_LINK_PCM1_BE] = { -- 2.18.0