From patchwork Thu Oct 24 01:29:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 838786 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 1EAA3D0BB4D for ; Thu, 24 Oct 2024 01:30:58 +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 32C20DE5; Thu, 24 Oct 2024 03:30:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 32C20DE5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1729733456; bh=ZEel4dCfYkKOtOGjtjgJDsj6QXsQA2/uS5QOI/y+vbE=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=M0YeKw/ZEZS95cs4m+HzXZVtSCGawA7+63VoKWztLDHGmIX0edCgVc3e6JIGHuj2O YssGqfZQgM/1nlsFg/ZFcpXvDQAnAPMuzviHQXnhdVGWWcCZYwrgR387WcQMgp54C5 iKShGGmW90AJhE6O2gtuBdRl9ngSnKm/7Sxc4/ng= Received: by alsa1.perex.cz (Postfix, from userid 50401) id CE639F80612; Thu, 24 Oct 2024 03:29:59 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A0A6CF80611; Thu, 24 Oct 2024 03:29:58 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B427AF805BA; Thu, 24 Oct 2024 03:29:41 +0200 (CEST) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c405::1]) (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 E03A7F805AA for ; Thu, 24 Oct 2024 03:29:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E03A7F805AA 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=UiHJxibo ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZYbBA8en3vfKtGu30WZM7u79DOWz09H0LLHKQvvfLGNtBjIcFsIv1YbGnvmJHdmwhAFhGLyAVRvIfROquKoQombvxFuW/NJTVSzk1b1CBTpkRvCL/u4PmqjBYdwBygg4LFSDrRw2JK3h2Qvxh0nbM/KQG7KVYbqFtsDP0Km/s6dc9YqqHP3cAwOLgUNvdDu5wGZcmzdllv19c9y0z19Wxr+ETY3eHcrEvJ7SrRG9HdAaHWE+c6pYGA1FOtYPHoKXFIuNc2wdy9t8Tkw3NirUlqig1jly1fBJzLUNp7lFxn1SSiXAiiQKAevGk36I5/i5VGsxnAagrl3ZDrXhz58Ahw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=KZuWl+fMEfbEmrArWO7jccAklK7yIStKk0HLBhTH9d4=; b=HxNfGIDP5tIxBJ2viGLKXTPAPXziHh4zGSNvahIz4Uv36+qZ2V+CQ7lBIC11qbTrGjJRPgpVzy337Z/6N3uiZj0rBNzbc1Uke2zUkre3P23FnHtoJmcfIfFKk/XrcOS9W+F3L/F8zvBZyS3bddVOQGyRCTVx+3ha9WljLBQSIJ8XumrFwqAThnvECrERW+lEFS1vfkGofjzbnD2CqTOJW0bUYVHDQKMfv9NHvWENWvaqpQ7Ur2Wp/BcwBNWwx9gT4w94eDAo/U/iu91P/9LP6YJIEkuE7aUzhoG90W4a+O1w50m8lKmH32dRb1JLuMZ2d8hl+eNLFdcw5885XaIkeQ== 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=KZuWl+fMEfbEmrArWO7jccAklK7yIStKk0HLBhTH9d4=; b=UiHJxiboA9jPIYlPSlpa0NpIJyh2uW15/nyrjzPy+Gc2/Pdf+6fMNgXnwE9Pt+7yNPbqtliWzN6s8b+RcsuMhIirMTCgBEGcPgwpY7cJpao/FZO0ia1GndhuxhOpjAHGxk7K+djoJ1wDsbrupw0tnJAhg1q3rx3Ipux218HXU3Y= 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 TYCPR01MB12111.jpnprd01.prod.outlook.com (2603:1096:400:43d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.16; Thu, 24 Oct 2024 01:29:34 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.8093.014; Thu, 24 Oct 2024 01:29:34 +0000 Message-ID: <87v7xib85e.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Jaroslav Kysela , Jerome Brunet , Kevin Hilman , Lad Prabhakar , Liam Girdwood , Mark Brown , Neil Armstrong , Sascha Hauer , Shawn Guo , Shengjiu Wang , Takashi Iwai , Vinod Koul , Xiubo Li , alsa-devel@alsa-project.org, imx@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com In-Reply-To: <871q06cmsl.wl-kuninori.morimoto.gx@renesas.com> References: <871q06cmsl.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 4/8] ASoC: sh: switch to use rtd->id from rtd->num User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 Date: Thu, 24 Oct 2024 01:29:34 +0000 X-ClientProxiedBy: TYCP286CA0188.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:382::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB12111:EE_ X-MS-Office365-Filtering-Correlation-Id: ef657516-fc58-4e46-0c00-08dcf3cb510e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|7416014|52116014|376014|366016|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: hKl64GLYwVvhY8bRVCObvPtJb0gwCqBDQdFFKAwK+k96VD1hkp95dsIEPVUmisgeTb201YrcFknMX+r2eKdiQO+VYIkp0H40Z/ViJ5I50heCfYyYoUff0pfqVpp7vsw8+h8atanS3Kxak0BB0sLmgVC1WVFf7OeO9LW4CzHf82vTyS691kDZ5QgBoFE6CZQFcHIOc7UMnq5yxnJ/9+bv1tSUhLkQDjSF5VGp6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CehxsTGotgcWALgMPSubOjM36mddY/mdZ3KIBZaqxCE7L9qCxT+kTuw+PjiGCPfzvv9de8TbBAgAR2Naojslf0dJqAHDGjRq8oAjf3aCpbUon+8bWk20dWLtt 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:(13230040)(7416014)(52116014)(376014)(366016)(1800799024)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GcW+L4+aNWprSDJXTVS0gYTu8Myl5yuOAWid4H6JOR8P+ZQV0cS/AaXxdNJmfx5jjvjRRNCoFD/bfH/+UQ7jTqodUiKQK+/GeG6byfv8eiTptTssz+TQBMsk08G6PC46e5C42m6vRiQq4/gmpv3vMftEvozBDhSQFXyqPsviFXgtuZWb3F8Q/mC2jrMfE7LiaWQRnmT1rus+eD54bK/06SEpmYEx8Y9D1Wl4xAbTrGuNBJ21s7WYwkSjJjK4RmsuEQ3B1AikodQYwgOd/IOjBL6K9mBh/MLNrO/Q/J5z9V4HJS8f4vUatpaWG/zrbCU5Fhugi5T+V6jtWVGj5wRGTqIhqiPk/+HplLke71KDoRav0KgVBbRgz6JjfpQ2NgH2su92G3OGft+EvVkFS4jSREis3ZnDTJcJP0K9hzMrBCtCphbo+TT935uQspgW0HpecLBI3hq/LVanTwygNcyI2AOH0hBP2izVOyzwvOQ738LTyEJy/NMy4xHilf8uDgyXDkIBzMRxy03czuCnuDBSt//YueSzdc3pPRXcHJnt31jAXPp28S3tX3ovM3fYCtXtGbYneFLEiszhkOhI18XkwnUTTEjiRGc8oWu+icPTzKYXcFCCFKMxwFPVcztEn5NC8yy5XEbCQSj43cEBMLadbSFWIfciLRTnwviFxYTFHh4NzBV16izGwPsvOx1CX9AAIHSM5IxmiLEWe3+C2gBhUvOdY0mElQ000e2yqSqEfl58c8rm8G9jSVUl3E1rN2C6A1J3iPIPvnPL5FMVpMBBojxIBW0q/4EhEAjiAU4ULr983BQG6oGMRX1XVXSchYF2Z7shqRWtt2gAPulpVoUpuUMD/jjhnZ0rV+GAEUOw8VXkulNFqrZQOjwYIVjv3yIxzWXy6l5yNG+sbEUQF0u97dMTyTdf8Q1qEiYIraEDKfIlrUB9rErtkozJUbcBAfErK/e6ww99laBsRfvpIHiZavuL5Xs5EbfAvRRXAXcPMEGlboNzPPkBkr1+0ke3CzUoG4KmeDc3dtIle3aVJTQyNL3up4NZJBfkI0ww+0Hu/oWihUNKKOhzWv+G5niVtdcfxbT4gvCKPqYE6I2TMzXOxzCfp89tjqnx8pBwT6UEbF43bT+kmOPuTOYFJaZrluz9bwHxU+EuLfYA4wNOlACA961BZ/5uhgfCvXsiWv7gfPo6ekWFIjl6FbNHBDNKQBAXPlO8VbtfBt1VOzbVF/1doo5OEzZ1YE809WUh/p4ybc9iD6EZX0wKvhr25R0DiralEY8J0CJZhgBPl+tL4ReLb0+a02lxqK24bYI2djkZs7qGBm9m2EMp5WU3hG56qaJgXOeWEOd59W1X/IYvxOzYb6AHHKWAAcCOFCeOtRZmi9i4Jvf3skHStN0iPaqzRnWjA8qo3A0mDLIQIfSxZPutb2G4KsiTMjenW0roX4cvn/9a8mgN2OOI9LzvsVwAiJUoai/TXVug0AvBRQ51yTyqoEGkztJTbIoVQ327Kek7LfT0i8OA9FvPYbktiBhL2dF+vxUeQtGpb8JPLY3iJwKCkj/BMwhlQvRDuWkkTmrlAJJMN3O4ISEtZqn1pbMCnPmJ2HjwX9Nksyg+jMNHOuLfnZdZ9OSM4YTfXr/oXr9nzEw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef657516-fc58-4e46-0c00-08dcf3cb510e X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 01:29:34.4500 (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: tFcU0mIaNG2NPZSVTCOj2PA5iYpJsANj2IuHzd54W2JRhArcLVvi5cAGemQqOKMBoISvHhdotolpVkJQrO6ogwfaWFj0hY3eSHftmNGWJF5pHnno8GeLodDhXUkFZkfo X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB12111 Message-ID-Hash: BBNF6KKALOSWD6STP6HUJGBNTVGL5RDZ X-Message-ID-Hash: BBNF6KKALOSWD6STP6HUJGBNTVGL5RDZ 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: Now rtd->num is renamed to rtd->id. Let's switch. Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index c32e88d6a141e..e2234928c9e88 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -1843,7 +1843,7 @@ int rsnd_kctrl_new(struct rsnd_mod *mod, .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = name, .info = rsnd_kctrl_info, - .index = rtd->num, + .index = rtd->id, .get = rsnd_kctrl_get, .put = rsnd_kctrl_put, };