Message ID | 87edg2bvnn.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="Y6oLU/Bg" Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2112.outbound.protection.outlook.com [40.107.113.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F4DFE4 for <linux-sound@vger.kernel.org>; Sun, 3 Dec 2023 17:31:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T3TwGLwIWT94ZdNvwGNgTDwU6yMyExzt0m7SGG66a1Ek7DyR8VMznxOen9es9TSexDYvSZCc4i3NYqidv9bfRqGlhze4iOZN5JWFMtB3TS6cZ8k2741fCH9Pml3eKdkTeSuwx6QZzTagE3w9QsBmjwJEXTQT9rB2z11aMneSuKlt3f+4iEvswAgaBHbLV5WmWPB6jZCLB5vJ1qvx7pmOIct8qN4o0xfQvoZr7AYRMB1259ATEpD2rhwmrdI9L8+9Bp6b95453Nx0EjC5GJYYnDAIzPUTWq9Z+1NhTIv9VsWVZ/MdUTZJkqqzwABcYrgJnbNKqD9TDFmaxJZEDx52bg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KPZaBuDcIYtLD6+R+IwieYzeg8s4mAbBjD7GeyrKfRs=; b=d+v72T4h7SRxL4XVWOM9hu8WBsZSWcZzTRRdpvCDIgs5jnK20O1nWfUAZsZrQ1QcIZDi4X0Tx0GtpsEIGZ5Woy5mIb6jZl9Fi+rYWvocxfbWz7VNBZYPrCkOSgAPhRK2LTg75Pji2g19vJUjV3QMVjhHR81KdvRcGW9AIetSPpF6/HEeatpqD4xHmMKLm3+NhT4G4xPFlSKEhNXOxIDTVnnlNagBWo1/qfdNzASQpLznVveP7xudF7JfmqHzFUVtBlbEkXVvMFTXh3p8iWxduNaBsCTg2hhXrJdEaHOlAbGk8pAX6+j3guKndHvqMwYpyH7JTKKw2OpIEhUeww1bUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KPZaBuDcIYtLD6+R+IwieYzeg8s4mAbBjD7GeyrKfRs=; b=Y6oLU/BgYaR1SqXuocnC02wsvynsZ5JqJ57Vd1xu1jUgnoM9ozB20kkth7+Z/rk+U0lEeM7pSS8RLXReJaXPxHTDCnEdeEPzN9XloESGvX/rKYXDV+C4mVJOjI9xnIPOU9xnxNZRCYnwVphs2c26w/HCH54qmCIg43tkb26grIs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TY3PR01MB11282.jpnprd01.prod.outlook.com (2603:1096:400:3d0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.33; Mon, 4 Dec 2023 01:31:41 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::5732:673b:846c:ed92]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::5732:673b:846c:ed92%4]) with mapi id 15.20.7046.033; Mon, 4 Dec 2023 01:31:41 +0000 Message-ID: <87edg2bvnn.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> To: Bard Liao <yung-chuan.liao@linux.intel.com>, Brent Lu <brent.lu@intel.com>, Cezary Rojewski <cezary.rojewski@intel.com>, Jaroslav Kysela <perex@perex.cz>, Kai Vehmanen <kai.vehmanen@linux.intel.com>, Liam Girdwood <liam.r.girdwood@linux.intel.com>, Mark Brown <broonie@kernel.org>, Peter Ujfalusi <peter.ujfalusi@linux.intel.com>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>, Ranjani Sridharan <ranjani.sridharan@linux.intel.com>, Takashi Iwai <tiwai@suse.com> Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org In-Reply-To: <87il5ebvom.wl-kuninori.morimoto.gx@renesas.com> References: <87il5ebvom.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 3/5] ASoC: intel: hdaudio.c: use snd_soc_dummy_dlc User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Content-Type: text/plain; charset=US-ASCII Date: Mon, 4 Dec 2023 01:31:40 +0000 X-ClientProxiedBy: TYCPR01CA0019.jpnprd01.prod.outlook.com (2603:1096:405::31) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: <linux-sound.vger.kernel.org> List-Subscribe: <mailto:linux-sound+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-sound+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TY3PR01MB11282:EE_ X-MS-Office365-Filtering-Correlation-Id: 868da28b-feb8-4ef1-3981-08dbf468c44a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CDN9mxHoqeuYmyJHWBq/ZWlJrW2DcGzOFp4LS1r5IrOHXf+OCAJc/Y3yGIC1ZhdQJoOB1kwzXsR/JeOZSdMbgRiLqDCFxWzbe2j1sKtHkyql94362ZJY01x+ebv/VqvdzXcHcM6LweO7/KxkEf2VsKbyltAUojFVDVTI9i44UQyhJElQtN8riLGP4olrTytFBUsR2GJdIp7T1J4CzuCKPU45Gec+tGM09OpMyIGz2KeHrKzEmwYGq32gzunxH+EZ9L/hjH5h76kfAgTYM79RM4b+ucw4zUntq8qavUlPmXCYEC43/4zDFwljMP1SekSl1z5H7GzEjqe/RQCZmJQVWHs9DLUEGzEHTnwkj2DpgidM2NTf7kgacBnrJiIwhnN9E3rQbwwnFW5ab0sQV13ea8bLkP18aTgmik5bPInoVwsUhg0nPETrWpjzsMeJC4Q8m6TrseHTToBodJtVJ6NyK6xKvCaEFcaSYMk0Mbx0SgVsuHtSw0t1ma+8hEvSwtUQMndrWe787oTTlqWgDhP2BWJElDgGa8qBcdZbYw8huL4bGUH3asgZ31tKQNDRab89FyAkNEE0mex4CeE67skPbztTJwCA4cVD5IMqmM4WH6+YvLTQj33ayQnULsaaDFHA5SblJtKLYRfAmb23Vl9iDNdxkp9UNO3qxmfPOyMdV5w= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(136003)(366004)(396003)(39860400002)(346002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(2013699003)(7416002)(2906002)(6506007)(478600001)(4744005)(6486002)(4326008)(8676002)(8936002)(86362001)(5660300002)(66476007)(66556008)(316002)(66946007)(110136005)(83380400001)(26005)(36756003)(41300700001)(38100700002)(2616005)(6512007)(52116002)(921008)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: L9gzy01QqRPyXoBu1O5IKyycflyDIGgDth6g0btd73BFFt4nYjZAN9D7lbA+QI9uJI951BnFmtOq6fbbz3WYVyxkLaor92pyt8Om42LodlnGgLePpjaxDQjPB/o/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lW5EpI+9bBJGgY9Tk25UG1TUgQ5kKlOrRODksBvGkcQL4hkmtAgeLFl9nrTyOpUBRcuHTSPa39WF+buTHhTKW92y+UVFXnNFheAh4DLj13qkoEsixQurVn0ewOWWSQ5f92msBloG+S/mgzjgS1RLV52IOuhnqrNhaVkdJqu2q7xN+OduRbpbR876TMB5wZ/pYZiokT7lQHUV6Z+evJE1+FgqZYet4S245bjcY+VjHv3o2x2zadIDtJBYoo70ng0BJ9SOedWrYUy3wbmJ5Ty3iocvf5giW2/ruuh6NHb0l9DTbjEiFlkaRElWDoGrwrOUtdIWmjCY+5dc/INJGq86fWUUAlCvB+QULIyXJJ+6Rm1kjiMxDJYYzoqbQ1ERXa3g/kWLdvWcQNfUgr8R+9mgTcwjWcoH6B1TBguCyic1Xv0LbMANPhmL/BsI9UaNkSEP0YIP8= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 868da28b-feb8-4ef1-3981-08dbf468c44a X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2023 01:31:41.1253 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 28yIGW4Lq55Tj6fNes3347mUmO4yJcelaWvVBC6ZWJlkqg/EUrNOjyRtQneVWXaDjtuTVIYJqh6yr/acXOezSw9chqfC8K1v+BjwIW8VqS74Vujj4eZZ6kkTO+UPxB1H X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11282 |
Series |
ASoC: don't use original dummy dlc
|
expand
|
diff --git a/sound/soc/intel/avs/boards/hdaudio.c b/sound/soc/intel/avs/boards/hdaudio.c index 844a918f9a81..79b4aca41333 100644 --- a/sound/soc/intel/avs/boards/hdaudio.c +++ b/sound/soc/intel/avs/boards/hdaudio.c @@ -155,8 +155,6 @@ static int avs_probing_link_init(struct snd_soc_pcm_runtime *rtm) return 0; } -SND_SOC_DAILINK_DEF(dummy, DAILINK_COMP_ARRAY(COMP_DUMMY())); - static struct snd_soc_dai_link probing_link = { .name = "probing-LINK", .id = -1, @@ -164,8 +162,8 @@ static struct snd_soc_dai_link probing_link = { .no_pcm = 1, .dpcm_playback = 1, .dpcm_capture = 1, - .cpus = dummy, - .num_cpus = ARRAY_SIZE(dummy), + .cpus = &snd_soc_dummy_dlc, + .num_cpus = 1, .init = avs_probing_link_init, };
We already have snd_soc_dummy_dlc. Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/soc/intel/avs/boards/hdaudio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)