Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3522143rwa; Tue, 23 Aug 2022 06:11:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR4nV/FLDgEkv6+J/PUyUlMmI0SoU3AFaq7B1ly+49v+EJ9paaP4fGcNmlyAb5oyAkc2xv9r X-Received: by 2002:a17:902:6ac8:b0:172:cdd5:182a with SMTP id i8-20020a1709026ac800b00172cdd5182amr16503241plt.56.1661260294698; Tue, 23 Aug 2022 06:11:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661260294; cv=none; d=google.com; s=arc-20160816; b=qIl1JHJJJIEp/R/m7lvi5Jen0zT5w6+7CqK33LwOFDobeXwbToFJO60TtZ6yYKoM8R RKpHhb543xojeG0amk8VU2KNcXgblxb+wwluacV2hkYumhMreM2W0poL9I4KkQSV3gPe 3YSdtp9okEVqMqalRLi+0jtn55G6ueYiLlHDfWeNPsUUFya3gik89E57DQsxoEo6b4Ad BdBG4VgugHOITC67oP2GIe+VGPq8TmdZogGt/kfYsdLRo9IcTcV5X6PWxHmY5kcm2vu9 GuO12IffbbCuhXA6QVwEfWWBHVGuLnR8NmdrUMudMYZb0GZ2BLC+EWKCFwsd/8vcxK6a yyrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=ecN9bgPaN72KAe/fKxqc/KwGlT2WH4LP1gBZwGGNqn8=; b=0lvw/byDZbiSDOQ4cpQ0gbJgJJlGl14bCtw6pm6etsP+7UFbloqKLKv6LfxXX7oqOl eXcpuxJBQqK9hjJ0lwkvuRBMzsJ6N8NE5kQnZQyQBhL4yx/pUUduLVw5mNw5BrXdU/3W CgD4lMSHYhvmhoaaSNjcfX2saNbQMX+7UL6bL408KYXi3JxIQZSzedCQPsJ2vp6ljxfa UPPAbR1AKwnsknyp/kCJJ4baHf4zLasWz8qvLplqESmjcRNesyPzJde6Ba6BeWoeLce4 8nyyPyaOBQOfzgp/jF2nBuvxWgrRy8US4RDvfb4BeP0Wal7DV8NCqQm3B6PJ9FM6/ldM y1og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f6-20020a635106000000b0041bc8882540si12780173pgb.370.2022.08.23.06.11.23; Tue, 23 Aug 2022 06:11:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243865AbiHWMpG (ORCPT + 99 others); Tue, 23 Aug 2022 08:45:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244233AbiHWMom (ORCPT ); Tue, 23 Aug 2022 08:44:42 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C6289F0E6 for ; Tue, 23 Aug 2022 02:53:06 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id AD7B91A0712; Tue, 23 Aug 2022 11:52:31 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 757C11A0710; Tue, 23 Aug 2022 11:52:31 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id EBFB81820F59; Tue, 23 Aug 2022 17:52:29 +0800 (+08) From: Shengjiu Wang To: nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, shengjiu.wang@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: fsl_mqs: Fix supported clock DAI format Date: Tue, 23 Aug 2022 17:35:08 +0800 Message-Id: <1661247308-2650-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MQS works as codec DAI, not cpu DAI. It is clock consumer, not clock privider. Fixes: 3b14c15a333b ("ASoC: fsl: Update to use set_fmt_new callback") Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_mqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c index c1e2f671191b..4922e6795b73 100644 --- a/sound/soc/fsl/fsl_mqs.c +++ b/sound/soc/fsl/fsl_mqs.c @@ -122,7 +122,7 @@ static int fsl_mqs_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) } switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { - case SND_SOC_DAIFMT_BP_FP: + case SND_SOC_DAIFMT_CBC_CFC: break; default: return -EINVAL; -- 2.34.1