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: 13848153 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011040.outbound.protection.outlook.com [40.107.74.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD99849652 for ; Thu, 24 Oct 2024 01:29:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729733379; cv=fail; b=h75K5q8T8+AKuHHuwydGVX1EPazetCN8GBNF/8FHhjlFeSRKmcfpChfF6wbmLp7jTlrB7EJic9koUn4LrT6I/drflpxY77R/2lhQLcgi8/SYJXYyGNr3p+LNNpTHSxLHnMPygHkgp86flHytjzeXhIos1DvTgsAqMDUL6OcTZ5k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729733379; c=relaxed/simple; bh=ZEel4dCfYkKOtOGjtjgJDsj6QXsQA2/uS5QOI/y+vbE=; h=Message-ID:From:To:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=YdDvhL4msHGwzvZKRgx79QX9kryOIB9Y1vlu7GA9JzmLjm/IH3gWTmhrNtSs2dx7nUyX/i6+vUaVSM6YzFYRyCjOyU48nuUAO729zPOixdqqg+h+Mv57qLz6dYtj7b07+/LLJ0rj5h/8dbrWirSrJ6JkbnxLX3TUHTM4/2ZmXI4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=UiHJxibo; arc=fail smtp.client-ip=40.107.74.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com 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) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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+bv1tSUhLkQDjSF5VGp6yZaXuAqB3lG9M2i6iuqdAC+LV3iPgSwaYnUOJFupEePa5QF2KRw2IATxTwOzaaonviqKLyt+QkYBmD7T44OC+RHCh4g9dPDOyu5aZoz0KzEDWavAh3gKMt8ZPwOcMCY0lx1pefDrk27718aj4HBjvJxgCmXeT3qqij0BbESfEp63kfa/7PmZOCwG7ulCoSBi0t3bd1w/XE1Ce6r98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01.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 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, };