Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp256892ybg; Tue, 28 Jul 2020 05:23:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJhWHd8BKfuQAGjh1TxJ6KVytFtlKyC4943Ep++oBcHPabUDwv4G637XGTOiUxpfd1W8x5 X-Received: by 2002:a17:906:af72:: with SMTP id os18mr18513444ejb.43.1595939016611; Tue, 28 Jul 2020 05:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595939016; cv=none; d=google.com; s=arc-20160816; b=fy9C26aQXLKqQ3zn+HWjf3tx6NSckkhjB0dJnR0maLYcAdeIVHrjYWA4GtF7qz4TYT EPbevemrH190cwzRauzjHDRV8TFOCR69A803zR0XuZ0USQc7D+up3EBL1/WKpkTN36pQ wxLKiEs+LhtFLYMA6+/JWyalRwIGz9ObFcgQAYnWQC1lYcSA4ODdNHN9sfZ86L+sqtDU AElH2Vzv+NmjPkgp5HiX1bJs4+/05YWt/qkyP6TcpuKtD8ipLwtaRvVbpT3I4XxdiFhc G700VMLpUnWdo6AIetk3kVIDAr10VUbJr0MLm8taihvnnxI1tfPfoH/X7gOp4QXWgh4A 0/Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=TU7kDIZgapSoctUzit8WRI0u6fwo1/VvhsIQkoZtoNE=; b=0hkJHSCvtVQYDB1yoxnxeDr82iAT//b8bS47CBVycCKXlrl0fLcia4j77m6yTTgfG5 crki9CSJKg3PP6qJzr6CR1n0gkX7OfChp9wjP4+ffIdXyNaNUyVMzFzhJN6TQYjHJ9a8 /6yAfZR6ITfuStxlCReZnel/0iXYybmqjaYekJmTnKUY/Ext7MMTW3wouu49eZHMB1zL k1AMBwTW4W0R+DN9m5fHZuNS8gy0aAyj5vZDCXtEkSNA1mTidG2mSUvAcBV3MViEL0zO H8tx97iTFk4kORzh+sRkS2XNU6OUX9sGHAQQHhnPMg6sDyuHHs39zIaAerIgCB1HUfwm SBCQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lc15si7372014ejb.526.2020.07.28.05.23.14; Tue, 28 Jul 2020 05:23: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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729330AbgG1MS3 (ORCPT + 99 others); Tue, 28 Jul 2020 08:18:29 -0400 Received: from mga03.intel.com ([134.134.136.65]:11199 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728846AbgG1MS0 (ORCPT ); Tue, 28 Jul 2020 08:18:26 -0400 IronPort-SDR: 0m+YyNqtoVQrnSGCg8HR/mwiEpwUGL2Q2x2jUBs35CJuhJcPLOjnxB73/IOD51LhXCwcAjZk9u xU4Ath4jKPsw== X-IronPort-AV: E=McAfee;i="6000,8403,9695"; a="151182775" X-IronPort-AV: E=Sophos;i="5.75,406,1589266800"; d="scan'208";a="151182775" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2020 05:18:24 -0700 IronPort-SDR: a8UodahD6j6XK60cgHegeoyLiYxT2aRBRzuPKFtuVsSmnRHmoSDfkIPOm0QMST2rd8K7Pegr44 Pf2+TD9hM6zw== X-IronPort-AV: E=Sophos;i="5.75,406,1589266800"; d="scan'208";a="312597141" Received: from caradool-mobl.amr.corp.intel.com (HELO [10.251.24.77]) ([10.251.24.77]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2020 05:18:23 -0700 Subject: Re: [PATCH 3/6] ASoC: amd: SND_SOC_RT5682_I2C does not build rt5682 To: Mark Brown , "RAVULAPATI, VISHNU VARDHAN RAO" Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Arnd Bergmann , Liam Girdwood , open list , YueHaibing , Takashi Iwai , "Deucher, Alexander" , "Mukunda, Vijendar" , Enric Balletbo i Serra , "Agrawal, Akshu" References: <20200727145840.25142-1-Vishnuvardhanrao.Ravulapati@amd.com> <20200727145840.25142-3-Vishnuvardhanrao.Ravulapati@amd.com> <20200727160941.GE6275@sirena.org.uk> <20200728120700.GA5055@sirena.org.uk> From: Pierre-Louis Bossart Message-ID: <44e86246-516f-3a32-af66-e1c23f560e77@linux.intel.com> Date: Tue, 28 Jul 2020 07:18:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200728120700.GA5055@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/28/20 7:07 AM, Mark Brown wrote: > 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? I share Mark's point. Have you tested this change on top of Mark's tree, or only on top of the stable kernel?