From patchwork Mon Dec 4 01:31:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 750043 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 1EA05C4167B for ; Mon, 4 Dec 2023 01:35:20 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id F3132E0D; Mon, 4 Dec 2023 02:35:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F3132E0D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701653718; bh=dVe00EEUw20qddc8MUIEjRbJk4I2Gixg9B/9tNYvbJg=; h=From:To:Cc:In-Reply-To:References:Subject:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=TDdoyCQmtPrYGeU8ABLeGiabCbAhZEKClkX/yH6JpPD7HIql+WQmEuPGe2kFfuw6F Jgdx45it2QVqIs1h5n2XKoirZLa/kAHTlFYuvqu2bEU6Ycfesc0cEbqazF5I7NG/54 r2Obf18k3lYL+ILn4R26n3+zVY///OIlCHQx+cdQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id E6848F805DF; Mon, 4 Dec 2023 02:34:20 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id AAC4FF805EA; Mon, 4 Dec 2023 02:34:19 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 71FABF8025A; Mon, 4 Dec 2023 02:31:51 +0100 (CET) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on20700.outbound.protection.outlook.com [IPv6:2a01:111:f403:201a::700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B5DD2F800E4 for ; Mon, 4 Dec 2023 02:31:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B5DD2F800E4 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=Y6oLU/Bg 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 To: Bard Liao , Brent Lu , Cezary Rojewski , Jaroslav Kysela , Kai Vehmanen , Liam Girdwood , Mark Brown , Peter Ujfalusi , Pierre-Louis Bossart , Ranjani Sridharan , Takashi Iwai 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 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) 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/05+70xpDFBKNtv23GoFvmCCBrghSwPUcMkxk+MVQrzY+OiuUfzSYuhTfMDYbeA24rNqX15bPJoZmP4znwGGPR2/m3WNraUjVZaXK36UAfOrCicM4xsBxGScq/4/OkWCGzsbFlvH5CT8eOGXawqRzsDQw5X4savI8JEyj7S8PvCOV9xYzBJbJUUEdrY4N79LyIjrVmAMiEp4t9tT7cUyyn31bnlLXpO0Bg4zMauGwQ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3o2x2zadIDtJBYoo70ng0BJ9SOedWrYUy3wbmJ5Ty3iocvf5giW2/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 Message-ID-Hash: RL2WYWUSYRHNQ3JFITBNILII2S6DJDAD X-Message-ID-Hash: RL2WYWUSYRHNQ3JFITBNILII2S6DJDAD X-MailFrom: kuninori.morimoto.gx@renesas.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: We already have snd_soc_dummy_dlc. Let's use it. Signed-off-by: Kuninori Morimoto --- sound/soc/intel/avs/boards/hdaudio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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, };