Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp518387imi; Thu, 21 Jul 2022 05:58:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t3orc4Ozo2LOqaanZIKybu28VL0jCQ3CBxyl4mpS4crNXbbMg/NdzNC/3sNw9k16Kl+AHd X-Received: by 2002:a17:902:e945:b0:16a:1c41:f66 with SMTP id b5-20020a170902e94500b0016a1c410f66mr43410566pll.129.1658408287645; Thu, 21 Jul 2022 05:58:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658408287; cv=none; d=google.com; s=arc-20160816; b=iTYJwqOOJszWlqi2wn3S8JvrE08UsbokfQj9025X2ov/aKepT1NNOecyfALAoGO0vl fZv9Hvp3H/MSMCVsKl086xedrMT4+8TwTJ3mMJXff7lHKCIBXmbiJxTi2cUhZ7torS9D ZxdIAFkExgFvX3E6fx1hwPUq3Ra5Mj+6CQjh8Aav7SBvYb/X5kmkIhsL3wqaDzpC15or CVCpCwcXuTO06W9uLTngQ4xQE6tXzgkJosJCtwAJpifyPnsM1AEFGE5c7Vf+GrzdT5mw AGML7bhBDfx53w5eLLMY3TJA0HWjL0Qa92Sx9nhgUhnL3p1Eg1LcSIsY21S8vBet+Juc 1t2w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=flN+QusQTcvyFPRbL7QSlqFC1PddA7ZCX5V10scmjZw=; b=GTOH5BHpaTd62KB/j9/9xgiTQNsDPygl8l5SHsSTPUZeDvFuJw/EMQql7L7nnUwGDU G5w7OezAHSSftAY3VacHWg/hnV9A9unwMHDBvZNCHl1+MP8QoYAdzbli98dos9TAHG/X PwDz9Rmr6k3kFAvu5WuccOBXyk3HpZ/JUSud3xuOEw913ONO07V+tWvn+SVT8OdT3znA tsj4JCYDYvoMRpLGDcT7yhhtGlkd2WtaGFcFVQrUCAFP6r8kZRNJitFWl1KFTXBNZRzr NF+1k7mJOEKEdY2zOeiqnU4nMkvKF/WSWTZkht+PSisCoSRW6ryJuyOX+PpYQHrjigwc gh1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IKFaPwbl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p6-20020a056a000b4600b005182fb67e66si2812606pfo.159.2022.07.21.05.57.53; Thu, 21 Jul 2022 05:58:07 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=IKFaPwbl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233591AbiGUMPJ (ORCPT + 99 others); Thu, 21 Jul 2022 08:15:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233589AbiGUMPH (ORCPT ); Thu, 21 Jul 2022 08:15:07 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97DE286881 for ; Thu, 21 Jul 2022 05:15:03 -0700 (PDT) Received: from localhost (unknown [188.24.146.105]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 861BA6601AA7; Thu, 21 Jul 2022 13:15:01 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658405701; bh=vBTCRcHWGtDqiA4fxJOYlqI6XHGxo1rup1RqlhRSdD8=; h=From:To:Cc:Subject:Date:From; b=IKFaPwbl52WVwlaSmN54Nuw+s49PB1Zgk9vh8UoWwdTUNhU4w74QiBNIAS1n1DLIf KvV+fpoezwrTOfu07V3P9nIAd6Kx6yr/GxdMvARzLtEhw68kshrH4St6X3Ub45rdtz mOUsh0RtHzp52H7FyCr50FrYVVUrTXGxI8bp3piexc4JnLVPl282qP1xQlxWAOdgUK Y86bS6C63NAz/w+nV0z2HO8ukiueNjzCjziO+nDjl6CfOIsRA21F5r8m4EBJPE0ibr XHF0P6e8eOfrGK6rFqSd/cZVqI3kmesKAWp4aO5pzfsDWPAl7b6uS77Ae9fLaSTl00 2W3G6PZO/wJYQ== From: Cristian Ciocaltea To: James Schulman , David Rhodes , Lucas Tanure , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Charles Keepax Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH] ASoC: cs35l41: Set the new legacy DAI naming flag Date: Thu, 21 Jul 2022 15:14:54 +0300 Message-Id: <20220721121454.1378945-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Unlike most CODEC drivers, the CS35L41 driver did not have the non_legacy_dai_naming set, meaning it uses the legacy naming. The recent migration to the new legacy DAI naming style has broken driver functionality because it is now expected to set the new legacy DAI naming flag in order to instruct the core subsystem to use the legacy name format on DAI registration. Let's fix this by setting the legacy_dai_naming flag accordingly. Fixes: bc949a3b4af3 ("ASoC: core: Switch core to new DAI naming flag") Signed-off-by: Cristian Ciocaltea --- sound/soc/codecs/cs35l41.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c index c223d83e02cf..b49f9a32abf2 100644 --- a/sound/soc/codecs/cs35l41.c +++ b/sound/soc/codecs/cs35l41.c @@ -1028,6 +1028,7 @@ static const struct snd_soc_component_driver soc_component_dev_cs35l41 = { .set_sysclk = cs35l41_component_set_sysclk, .endianness = 1, + .legacy_dai_naming = 1, }; static int cs35l41_handle_pdata(struct device *dev, struct cs35l41_hw_cfg *hw_cfg) -- 2.37.1