Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp251015ybg; Tue, 28 Jul 2020 05:15:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+ybOFo3EUDcooMqF/gxCIRsHSoha4T0208nDBTss9USJu2OwcU9ie9JNWMjaOFsb6wUpa X-Received: by 2002:aa7:ce84:: with SMTP id y4mr26173864edv.113.1595938536803; Tue, 28 Jul 2020 05:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595938536; cv=none; d=google.com; s=arc-20160816; b=UIyl8VB3Rg4Tcplt4ETcET63QnWOLxlv2ch6vpKn/3+YkgR/JFkVQEdO79Hr58d9Kb jQvrSDoSZMb0LAvtyf+lR/n2vH7WghEou1qaETI38rsGW26rMv4dnpF90VAdjNoj/dID dCWEklFQRbfV335REnXrqZK1FGsyOdMD1Bv3EeBrgVSXgBwmcGo1CItUpx/ACPP2TIks uppfdYqIh/PNzKQ1+pR6x7E5AstyHXW7FFH1cE7TRWxGxZy3A/nm663V95ezoEy5EdUN dqdc1yDtgztqwYp76Pr0eKmUpFw3agRkWvSOmrtkuupPDIIBXINz9gMY79FaQ/2NRVYy rhNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xkU+RapQnCVDEBVHcDLCCpmdr2PnwAaTBJXEE0YatAw=; b=QygCinO8vVMYC3G+uCztbz+qJukqu++U/HfNFR3XixGhsNVP8nuJbbnrE9YyQkpBgl qkWZWBurgB2/CqSgDSNLOoIZ6Jmf7HcUOxQEaNQt0V6sPKEI9/gHr7cDgfr/eT4BMfgg 7kRGAmWNruZ7riiqvpvvUCmJUBoJE0DNeGvIryHtC1zARg1n/N1MYFLDkGuCnNX+XyMF LcNtU5PfGPXzhKnhUa4gIs2vpIHACfi6+Fo8AA4ydbwD78Bmt42agkv1boO7zay0xKly bA2bJ4c4Cfk7PCHSI99SQyaRMXDGvugL7G9umgGpAyWafBFLbQny+KnpxeLcfSuwGo+l tEeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eKgH0oek; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh13si7438353ejb.48.2020.07.28.05.15.14; Tue, 28 Jul 2020 05:15:36 -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; dkim=pass header.i=@kernel.org header.s=default header.b=eKgH0oek; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728872AbgG1MHT (ORCPT + 99 others); Tue, 28 Jul 2020 08:07:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:33980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728560AbgG1MHS (ORCPT ); Tue, 28 Jul 2020 08:07:18 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A8C50206D8; Tue, 28 Jul 2020 12:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595938038; bh=i89zf4KrxMnYTcBcBgNPBorSV2YMDEBMg4rupQdyRL8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eKgH0oek/9Y50A7XqRXtGZQ2NizOut7eUI8p5yAoOEpXYWI0XjTmaNiJmjMfcWQ/k +MSyAvroMBPUccgaO1tUqLwGWOewX9YnI4zTNGFnHl0AGFawDFteSLLnn3DHfUvZ6h nc4CZYw8XpSE7a7x7ncby8oZ37mpJtekV0ChJfpo= Date: Tue, 28 Jul 2020 13:07:00 +0100 From: Mark Brown To: "RAVULAPATI, VISHNU VARDHAN RAO" Cc: Pierre-Louis Bossart , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Arnd Bergmann , open list , YueHaibing , Takashi Iwai , Enric Balletbo i Serra , Liam Girdwood , "Mukunda, Vijendar" , "Deucher, Alexander" , "Agrawal, Akshu" Subject: Re: [PATCH 3/6] ASoC: amd: SND_SOC_RT5682_I2C does not build rt5682 Message-ID: <20200728120700.GA5055@sirena.org.uk> References: <20200727145840.25142-1-Vishnuvardhanrao.Ravulapati@amd.com> <20200727145840.25142-3-Vishnuvardhanrao.Ravulapati@amd.com> <20200727160941.GE6275@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: X-Cookie: Death to all fanatics! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 28, 2020 at 06:59:50AM +0000, RAVULAPATI, VISHNU VARDHAN RAO wrote: > So Actually for rt5682 codec Now in 5.8 there are three flags : > SND_SOC_RT5682 > SND_SOC_RT5682_I2C > SND_SOC_RT5682_SDW > But till 5.7.8 we have > SND_SOC_RT5682 > SND_SOC_RT5682_SDW > So in our design we were using SND_SOC_RT5682 which build snd_soc_rt5682.ko > Creates the respective codec_dais as defined in that .ko > If we use SND_SOC_RT5682_I2C we get snd_soc_rt5682_I2c.ko , it is not creating the expected codec_dai links. Could you be more specific about the way in which "it is not creating the expected codec_dai links" please? What are you expecting to happen and what happens instead? Do you see any error messages for example? > As there are three flags defined in codecs, I expect that previous one which we were using(SND_SOC_RT5682) is not a wrong flag and I expect to use > SND_SOC_RT5682 as it is still available. Given that the core module does not register with any bus it is difficult to see how that could possibly work - the core module doesn't contain a driver at all. Have you tested this change? --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl8gFOMACgkQJNaLcl1U h9BcBQf/evND4lv/np/6IuxKAr9CDwXqhYJaiRLCi4mRBWhP9tAa96ymV1cks6xu gLwbaJfqBhYS/hqy1/A382ZnR4exFn7dCuOOwlAG8KSn5IN1K7LLxhghrOpd6rK6 2Lgkn+dS08eyJbJIzMrSPb8t4rHGiN/h8PeXViV+SVI6aYbfmANP8AZWvBCdTAR8 TqjFEUShb8gzGg+vlKeMcfmvJsJilitZYCb4HG6h9QWBvmZJsrNCsdN3MKI93eJw YCt5YSkDt6C5e+h//rJy1TB++UkHdQ4/KusVOflJ0KGMQTwvwXM5j7RrME056sKu 5HXys5w3c0ZOsPa66tNPGBowUw7SjQ== =wiz1 -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--