Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp386363ybg; Tue, 28 Jul 2020 08:26:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7/uDqdcmCEtouyxa/3Ke5EEsb95pwt1YQstyGxmeDWw5JKvN+gIMzcjUGtSlx9+FTY5ZU X-Received: by 2002:a05:6402:3199:: with SMTP id di25mr1789213edb.315.1595950003936; Tue, 28 Jul 2020 08:26:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595950003; cv=pass; d=google.com; s=arc-20160816; b=ty5PGIAnhCTps1MEO7wHQC0rdxBm6YmXqvr9mBPLQtMiIcNfsuITZgpPIVPD37QAEz iCgv/pLO8ZRj5zY5rx3uHT3ZlUD2xeQebMxKuGxexGazS9XN30InnCRjzWnDJ0CwSVYq 1ZghdIokMU0hXLXHR2ioQdkIjNjzR0H/kp+6ja0PxUa7pECh5K9K53XGNqlGwxOEzRBA 1N7Uzvy8Aw788fIVZNB7Cr+3w64lXzNBYBaU/nmOH33E7DaHtwXrE6epOXiXl7ABoaLj w1MlxYqPYiguWEnTsNi4CERD8LR/5QSGOfLjQ1qMgMeKpSV4IBX/usw9wjK2uwxcts+w +UTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=iaMUln79GxgSkRGYEsPQx2uQ2IAm8MxWZS0aB3Ib+Ns=; b=J2pqRbsRIG3LcJDfMqodvRV1XlxcwSfG0PIb8ZuhoeUykzezXTP0LTD+3x5EgYQTjr /FgVW/6Mua1C+H1fdVqAz9aA9KfpVVBcT1R9XwmaGOx1HZQNZNZ/76cY/wpqgKnyofm3 71Zuo7+aM+7L0xyOxNgoNoCnlXPnOtjq+HfHyX7E60I/0GCkv+DYe38ofmIGhkZ3iWtf 5zeRNSHbU3U2JNSZ0D9mYSGU2kHfN34cXbp4wSy6fYMzHvPLkAoe9YBOTa9sIkLS1bPQ 3d/KTHZZdGFC/Kyph4H7WigZAA2Lgrn1xpNwKQ/wNMY/tLntDLATwjWRVjzMywd9z2bI fZXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=q9lmQALf; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf15si7685145edb.350.2020.07.28.08.26.20; Tue, 28 Jul 2020 08:26:43 -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=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=q9lmQALf; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730806AbgG1PYq (ORCPT + 99 others); Tue, 28 Jul 2020 11:24:46 -0400 Received: from mail-dm6nam12on2077.outbound.protection.outlook.com ([40.107.243.77]:33641 "EHLO NAM12-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730669AbgG1PYq (ORCPT ); Tue, 28 Jul 2020 11:24:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LPoNlqX2fT2TTd9ZJG2O3ZwYYlZdC6+VLIq+qJCLzZ2V4j2JtfMbS9L0V2sb3yFykDkLykpvZ2EYE3XR0K5Vvbgh2RvU4cYA5sDwewwKXH4aVdAObi4Q3CrLHURXKb1brKvCAN+c+vYT7tx7nuKVDsPeEchphFPZxXfRp7Hw800pVTeIMLXvzdVcBYAd0HDGuStKXDJNBDRr7LGbJBAKh84xzRFlCzmnwVT/eLewIWWzCcGuBAq9qu+zBmt/sEQsGeHEN88tnU6rmIH6cWndQKfZgVgb8QNCDwKYg3MiakaBUWPLJ4UdryE3wH1DlTz9JPrs80PVME7r7iNAUrBLPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iaMUln79GxgSkRGYEsPQx2uQ2IAm8MxWZS0aB3Ib+Ns=; b=OsJfoE35FL5G7Jzs/nxizutilTmY8ZkzJb4bV6W5IwrXYKRyG7x5CVctyFGPe6mi94bzfBoQUMHcbAKqDRiqr69T9UV/bBUKRt/VT03jNemCk7jp6DDV1YdQjhcer1yif6fQsrztDJEkbEUXpMhZ92VoRP9AdHxGRIdnu7ay4rhcm2tRGfa9f59OmHqtCx1zElwou7nDsZtEAlVUHgKHctUB9ADw/m6tKR0cPwtwPebivWr2Pyzdnyo7dPG+SgQuZ0yVNzGj8rYXcmcdSoY/b4tJpWcrL8Ws2+D0gVgpKmty8arTtBjt3kweaurV8Yd6aBIUxBYMOWsHKf6xeMtx5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iaMUln79GxgSkRGYEsPQx2uQ2IAm8MxWZS0aB3Ib+Ns=; b=q9lmQALfLqeWivgT6kTvcOIuifgK0/vMxnH4VEWi3pIRHkOSWcUcW9xDbww/di+TnUznrtxu2ZIbA+o3P2Ii4o43qQNp643xr4VS9O9Q3EnEpxMxP5nxnjDhXfRb97kUn687AEYU7HeDa0PfasU9l3fqPGhYegit5sPPdO3hYic= Received: from DM5PR1201MB0139.namprd12.prod.outlook.com (2603:10b6:4:4e::8) by DM6PR12MB2908.namprd12.prod.outlook.com (2603:10b6:5:185::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.33; Tue, 28 Jul 2020 15:24:42 +0000 Received: from DM5PR1201MB0139.namprd12.prod.outlook.com ([fe80::213d:5180:d4b:467b]) by DM5PR1201MB0139.namprd12.prod.outlook.com ([fe80::213d:5180:d4b:467b%10]) with mapi id 15.20.3216.033; Tue, 28 Jul 2020 15:24:42 +0000 From: "RAVULAPATI, VISHNU VARDHAN RAO" To: Pierre-Louis Bossart , Mark Brown 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" Subject: RE: [PATCH 3/6] ASoC: amd: SND_SOC_RT5682_I2C does not build rt5682 Thread-Topic: [PATCH 3/6] ASoC: amd: SND_SOC_RT5682_I2C does not build rt5682 Thread-Index: AQHWZCbm+DcS7P+G90ayphwZlFTok6kbjasAgAAKsoCAAPTPkIAAWbgAgAADLQCAADOsQA== Date: Tue, 28 Jul 2020 15:24:42 +0000 Message-ID: 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> <44e86246-516f-3a32-af66-e1c23f560e77@linux.intel.com> In-Reply-To: <44e86246-516f-3a32-af66-e1c23f560e77@linux.intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_ActionId=ff9c74f7-fbdb-4fa0-8e8f-708dcc81dd75;MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_ContentBits=0;MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Enabled=true;MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Method=Standard;MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Name=Internal Use Only - Unrestricted;MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_SetDate=2020-07-28T15:23:19Z;MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: linux.intel.com; dkim=none (message not signed) header.d=none;linux.intel.com; dmarc=none action=none header.from=amd.com; x-originating-ip: [124.123.115.91] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: ff2cd390-b6c3-4942-ed7e-08d8330a5a1e x-ms-traffictypediagnostic: DM6PR12MB2908: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pNbaVJ7avHxPFeITh1M3tUl4t+rAbJy3yFKonwvBHeQzOaEgTLZReD5W0rQcjKetFia83umlUmvH5NUqJDXzPswAExSNsYavJw4N4SKOJ+RArFsanP1Afc8TkjEw9qkxtxrVnN7e0qcv2zgRyF6y/PXI7/PcbxMmyV7mBHzicCFRv7ywPCCHCn8s/rQnGA6e5U1QaEoKZZ4zR+z0odtlofiocYyldSk7MYNVyZsJrD3tOMiTHcBpDOW8Oh7K9Hj5Pv2OtfH1sPyjXR4KpRpGKtD7BjACDsrfhOLxcZfBRh6pHjsLtQWb2AmetKLnrmpM x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR1201MB0139.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(136003)(39860400002)(376002)(346002)(366004)(66476007)(66446008)(52536014)(66556008)(5660300002)(478600001)(71200400001)(64756008)(4326008)(54906003)(110136005)(8676002)(8936002)(2906002)(66946007)(316002)(9686003)(86362001)(76116006)(83380400001)(33656002)(26005)(186003)(6506007)(53546011)(7696005)(55016002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: O4nJ27LaxUn+QVCihIqQLAHnhiT6H1xA7g9DLRqi/CYfYBhaBVxuu/AndgZIhpqRUGViqW7DR8SgyLEdKSlNg+SiPITQ4Ju6AsKVKAsPH6iEzTzxcmvv8UQRTKPNjv3stm0/m1GR7WHWk58lQbR4z19cyJ+jt/SKsaDSBqsiTE9gCRNMQsoY44ly+UuOorbrDD7htrtSueM+xSEzketm0+ltz3FZAn+7gKtJ3xcT72G5oeVxQuJC993fxQJg5w3ItL15hGqqb1EgEkeorEZppUbtNPB0JVVi5UyM9su81MoAHqQklg3LrWUAzzLMvJW5oP3mA+QLG1lR1tPJS0B28PHgKrdaK2LpNVdfHM0gtq0PgdU6/LspH7YE8q86LhAsWrqvfG8np/QyQt1UcwURklx1jseuy3gLlLqmkaKpxZaNUBYDU3YVSlZUciSfrlj5A7VJ8xBRpwPDJxqmipPffuvUkzu3S3xV+GaYd+qITue5CORxyPSlk0qMMtjDmGeO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR1201MB0139.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff2cd390-b6c3-4942-ed7e-08d8330a5a1e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2020 15:24:42.5731 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xec293yxFzj/Mq6NrzDoVZnz7IIktf2+ucdYxaCdLCbl20yUNTlqax7iQ7p9nyFHW/0w9RJbh1MWpQuHDmNtmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2908 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [AMD Official Use Only - Internal Distribution Only] -----Original Message----- From: Pierre-Louis Bossart Sent: Tuesday, July 28, 2020 5:48 PM 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 ; Enr= ic Balletbo i Serra ; Agrawal, Akshu Subject: Re: [PATCH 3/6] ASoC: amd: SND_SOC_RT5682_I2C does not build rt568= 2 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 cr= eating 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 examp= le? > >> 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? Ok. I will drop that patch and send the other series. Thanks,