From patchwork Thu Jun 2 13:53:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 578196 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4FCA5C433EF for ; Thu, 2 Jun 2022 13:58:33 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7BBA617EE; Thu, 2 Jun 2022 15:57:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7BBA617EE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1654178311; bh=w26GDr/I+IdfLueq+CV/vjxvXeVOWHryrtibdOth3S4=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mNOH26sPGn1cCje/RRDL5N7diaSfvglLs0mcPN7v3oaZ4tgJ+hFLIRCZ+mIYTTyQE uPgdQ4hlmEtwU/j6hUAZhrvqI9wVHTzXgNp/0pBdMUFtfWOYk9Az6PsT4nexRHIHw0 mTEuKCVhPmwN1Tyur4dO8L0RBu8jiG52Kaq1+xFc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6CD57F805B1; Thu, 2 Jun 2022 15:53:48 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1A799F8057D; Thu, 2 Jun 2022 15:53:45 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C416DF80563 for ; Thu, 2 Jun 2022 15:53:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C416DF80563 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dD0J3I6I" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 56D70B81F5B; Thu, 2 Jun 2022 13:53:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EDC6C3411D; Thu, 2 Jun 2022 13:53:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654178019; bh=w26GDr/I+IdfLueq+CV/vjxvXeVOWHryrtibdOth3S4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dD0J3I6IxiDRcQFfwV3jxEsC/ihvNznNttADNg31wv7POHM3qBK3WeUfiXDZIkg+y ysYAt9VTWVSruyivZxp2yJpvyeuRBvT5XBg9R38MRwVADQ+C3op0GJ7E4AT417uNAY lQ+ouAcSbsqs7TAN0rIPF/8jR4Z65kIQE95HBrGympYQLmMGWJmgfuW/ZbUCXpVuxI 4MO/GNMZ20e0TNgS/gAO9f3XmpLxrnQna1Y/6w7rfJwNb/kn4QYl+mij97dxo4MrAJ glKTQZaAU4Q7jLnATDQG0UUezXYFblMPgmG+fWTMjXOAiriWaQTQyKaQW0J/Glaxpx 52WfYkOmCrRIg== From: Mark Brown To: Liam Girdwood Subject: [PATCH 15/20] ASoC: tlv320aic23: Use modern ASoC DAI format terminology Date: Thu, 2 Jun 2022 15:53:11 +0200 Message-Id: <20220602135316.3554400-16-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220602135316.3554400-1-broonie@kernel.org> References: <20220602135316.3554400-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1070; h=from:subject; bh=w26GDr/I+IdfLueq+CV/vjxvXeVOWHryrtibdOth3S4=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBimMCaQoriQccfch/8J29dqi8qMe4zIKOH7xfVhr/K GFlc5KGJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYpjAmgAKCRAk1otyXVSH0BEYB/ 41+L5ra4v+dlnh+dQ5K3qJSNpeZDsxlvgi+q8RQKMInp6iIjOCL+DLELKn/WKORIWgvlxLgB7I8PHd eBpM4TtTZDOcWX+WI5vlGONjhVnWawRbbQ10LfqJ0DKp10C5ZMBezetPptsa/yOgO6GEjXWTsYHIZI XvTmTRUEP+8xj/WZA8esOuaAV2LgEyQ7OLwP2iL47g/vKMbVgNHRB7AfNcrcMYLw1TvLg3kV9bsxnV jWiGC05f3bQ01TcYozmVvsj+lthKWdCxGAmAj5BKp79/7cOv+8or2MkbM3FCV/M5yoYFvZXDlwdkSG gdajUBwt14utiNSm4l4dC037YLzsZz X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Cc: alsa-devel@alsa-project.org, Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" As part of moving to remove the old style defines for the bus clocks update the tlv320aic23 driver to use more modern terminology for clocking. Signed-off-by: Mark Brown Reported-by: kernel test robot --- sound/soc/codecs/tlv320aic23.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c index 2400093e2c99..f0d1c470fbf4 100644 --- a/sound/soc/codecs/tlv320aic23.c +++ b/sound/soc/codecs/tlv320aic23.c @@ -429,12 +429,11 @@ static int tlv320aic23_set_dai_fmt(struct snd_soc_dai *codec_dai, iface_reg = snd_soc_component_read(component, TLV320AIC23_DIGT_FMT) & (~0x03); - /* set master/slave audio interface */ - switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { - case SND_SOC_DAIFMT_CBM_CFM: + switch (fmt & SND_SOC_DAIFMT_CLOCk_PROVIDER_MASK) { + case SND_SOC_DAIFMT_CBP_CFP: iface_reg |= TLV320AIC23_MS_MASTER; break; - case SND_SOC_DAIFMT_CBS_CFS: + case SND_SOC_DAIFMT_CBC_CFC: iface_reg &= ~TLV320AIC23_MS_MASTER; break; default: