From patchwork Fri Nov 22 01:49:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13882676 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2043.outbound.protection.outlook.com [40.107.20.43]) (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 EC2B715C145; Fri, 22 Nov 2024 01:50:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732240214; cv=fail; b=HY45fYhV9D8R9M5yHS0eehKRhr6hrdIGMl9Bm8+u99YpG48kpZiKjQsv46wnJsmLLBsMPFmGEjjek6Mb67RwJbk/i+mMpHLlLT5nStXFMIdvtpkRl76uHSsfJNsG0ryP22p2Bl7UWOB26vpI71IoJ0AAMiNM1+B76rWu4sTXdF0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732240214; c=relaxed/simple; bh=jTLCr8fg4qtr5wRNhLkz+lWnIfLurfHwfXw1iAT8Edk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=OTCW/9039LIj03o8WYLXjv+3bJXkQd4XfPSY/rsM3PWZNWCns81kZOvbCIol4AX3zMIHujVWhLN4DI1/9RNv3qmRCGleSejyZIQSt6EjsMm/sA58020hPXnCtrdE+YUNo8grP488nVlR8iANBLC3UajsPGb1PFMqpJs2TonuF7I= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=oM2EbgIY; arc=fail smtp.client-ip=40.107.20.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="oM2EbgIY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xhYNg7LN+cWIptwPn0B7Z3y0sQh+mc26K8aEQLCY+honGWGye0nX45f/kokX9A4llE1OgdBFN0FYwDxRQ7pyCArXVKsRuxFwxP1m+wU0vgEsxMvjYxivjdDI54VYeXEt5jUue+dhQhgSgF6l0uk1qzlk18mR2c43T9V0oHtmAttCd9luq6TdgxA1ftLbsbHbuScQEi+Ss1xdo4uuwvF2w6agMlkT6CijHHHZ8usTBgGzFqd6CukHJImiPYV+siVBgKTb/DJDrGsf/PDu/v8VU3YANhWe2AIiizT5wndZkt15tr9bLoxqYWhKUa0otWVnCxpyNo/IC49gj3VvMLZJ3A== 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=kOCJVXrJR2zvdnDnohpgI61TSnVIk60R51/wFNMkTgQ=; b=lQXxQJzAaQX7ciVRthw6gnO0NeRv55hIwGbnJHteDrnoWgUpWYMiLHFp6GUMHBOWhGKTFUxXMgKzatqGV6a5YXgSkEwotKeakPQFCTD1lNKk1V+f3oFFHgD27TfeS0OwsgKCUtba+hb5rad63vwyMey9ncogFDUWanl6WTZIn5p8wT4vZY0JfbemZKhcCxMPklp6tkuDE3S39zbwps7So/EXNbG/cODlgFI7UOmGbrl0zVRSLYKD8KEhq0ttGmZMAMgvmgoDznxbL+huDXIMABlpukjG80yF8EfuSnoQzaHm2M4XNe30g243X7mAku0e2LL/LmRZZiprVFu3nA0GHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kOCJVXrJR2zvdnDnohpgI61TSnVIk60R51/wFNMkTgQ=; b=oM2EbgIYbtUfci5Wj1RMuLrH6b2WKLcIlTlN0MdLaOyn124MTMfo6GNTWBxf4Bm7FWvXlukJlV6IvcwfhLPbtmwS+MjHj2XgQsHdvwPBs4uOVrRLXq9SZYEMSvwyJ3pDINsujYUG0tmIg+8bstxk0UIiQq6trw0Zdq6eT8zIqbN853D3QKmaBqNCyJntOesz4R5LW+00k0awXSUaxszlCjgnkmhqi3iWts7+HN4ktkwIGNjJHkFdwrY6oZ9cvATHdBt9s0NP1t2rJmukMwvAB4xwU4yDcgVJBJB4FpkUdy1E5KJSPav3UMB/7nUn2Lidv3AkKhMlcbFNSyXNzNjo2w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20) by AS8PR04MB8929.eurprd04.prod.outlook.com (2603:10a6:20b:42c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.27; Fri, 22 Nov 2024 01:50:09 +0000 Received: from AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891]) by AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891%6]) with mapi id 15.20.8158.013; Fri, 22 Nov 2024 01:50:09 +0000 From: Shengjiu Wang To: shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, linuxppc-dev@lists.ozlabs.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER Date: Fri, 22 Nov 2024 09:49:40 +0800 Message-Id: <20241122014941.503789-2-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241122014941.503789-1-shengjiu.wang@nxp.com> References: <20241122014941.503789-1-shengjiu.wang@nxp.com> X-ClientProxiedBy: SI2PR02CA0013.apcprd02.prod.outlook.com (2603:1096:4:194::21) To AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20) 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: AM0PR04MB7044:EE_|AS8PR04MB8929:EE_ X-MS-Office365-Filtering-Correlation-Id: 19a05124-19f1-42b0-cfe6-08dd0a97fefc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|366016|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: k5Cxxtrzp40WhkzgGDH3udNTpKldORX9X4mxoZjWsLaQYyHz/MPeW5uBKm36ofp7RTdHH8rtptOWXJlMzjzS2hZKJlWCj2G+bK+sH32DQA7uOT7gfYviNthwJvUMisH8rL/Xq/PMMtCKf4bgqdhnrrIa7ep3xPZ7MFlZjODAxKUChhoYpMsLd1QMVFyC7W/0NG9/RdO6y/KZLarG41xsMV83OEHULepVpl34nd8sSwPgjRYb/6dr9TkdUjDBRoce4QD3uy2hTLbfvpe1Njkg8pDYrcubuWFvGLMYEyUeQ3f51m4rqtxgv6mvdVKG1cuazTFJ1IGND7ax4oyyeNFhGQK9L5t7b7Ksrxjhr0QkrmKZ3/aUmd3pSxCFPg1z2lo8kr1kcuWfAepD9jU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.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(366016)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: J+4njcGY4Xa8wML5AUh4bHSfyZfmwFXtq/vIa6B6f0sFjo+LLfQv4Ro7gmCCF/OhCIeViXSD21NqKZYkAjO+5STMwxqxhE94VfMVbDjbMsT1uIqAYYuGQO2yOFEs8jS/JSgiIiqE8ySHi7r1RY/7h+dwSqiyyMB//u91K6xW4OFRTzE7R1XXu414AddfiL8RHeV1iqbed4hceDVC7L/ENYVsQNcVXHW06MBMlutT6SyYG7sE8uG01fXu7/RZQJtruriVvx9/kSiorysBieb3K3d0yAMXmFNZZQb/Ib5WwwGuA2lB+dYrU6VQIkeLa/mD/zHdH3Hswat7xO9k5tB6nfZt/ywo/pe7EeRQmFoAMemm9TIIbTx9KrUyRxRwyHBb/Uqt4X+irmDwjRzrjiXXmSJV4mQ3EpqNzesH9Xj59hLsrfkAu8jmd9KwR+oKns+c4etn5aF36B4W6xjHg2mR6n+sPSfKCXxbWPIus+638Z2R0oZHD9BNnTTFjtexkXaLaj4rgFZYfNjnwxhjilSDHRb/oOOAXdd6cLM7w+uhqKug6NYYyrEygDkGTLJwhjysCO9TwsLlTCkMSgUuCM7Y9zdxgCOpxViy4Vrf0N5xmEHFVzibKcsgpT5hFrTNTNzyzYml2EGEZ4FFE1SixGPAo7aD9Wnqs5KPgwMrt3IBKE1zKEnka/o5BdlAXhsBZh7Ji0Vl1OO/4Ghu81pWIOTEVlb/uGthFdM7wPqEkByHa+N+slnOcihU8kW0GOO5GgzHsIyZo5jESpNXNG44hbjioUXRRYEISxk76exkg+87lPg2SqQPGOkyQG8r23FvMM4BOprQIKWU5MS6ALAuE5E954jz6gkz4RtHHpuS7YfHJAOJ/B9aD2+dgEDfelhnIdbwL7MEn7WIX7pPkUcWakG4KAfDfZz3WwGAfuFE6xj5TE/VCuKDVcZy9GDCPwdnEio6ighS8WKe7or5kOhgsPuvwrxdYPhcDyUTYjW7fElbnYNORG1hh90TYFqd2u2Mh/sHiUNEtSzf50uPm1IloIH4GsIFeLioYlvqZzkFzAl0tS5g1VV/X8xKv5VrACHDxmikWkIr1o9ymDnmx4Mz2blqJJhxC8pSbaE+3bVx7pwoEglTWcZLYB5YlsEfZt3MzOiAVQv/LK/xUBHgQtoyO7WD7K1hOixbaoNUIqWovxRhvGBuaFzYW8Idt7vknRoEA6aOAZf9BHEDbuYNgjZNFsHndlE+oxSCM6sL4WW+yVc2xKYCOBqR+Jd88hyX8YEOHdC7y2kAiCgp+r38rIqI9J14bSnMB/Pni3LxMzAXhb5Oq/UlJX6z3UsDtV/JgDy7wEZ0j47iqlbBzurm/GMibhtAtQSp/R+D0qXIFitFudcqA52YIHz+P8sQoWa3ZaHPxcBc1Ytatf40Si5dYnqPTB4jF1BnfFR3z4igqgQzDn7EEIO4HBjrc5orfJSnORX8HkCherAd95wOjqxHRp0/AzWxja1mN4NV16m6CR+UKFxX87kzu83XEalP6TcULEPwnBK7E2TYX4CDhg89lR8Alno0ULUBwl10ETAgT1uJLJNeRZpQsf+ZT3FjecLTD2CHxA8a X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19a05124-19f1-42b0-cfe6-08dd0a97fefc X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB7044.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2024 01:50:09.5052 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: POhVGRwo6C8WynPMEhuTPafwytct5stTQal3xdZD0dSDcjM1iGESy6zodKr/PqmKljeiQzKset5w68etCA2pKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8929 As the snd_soc_card_get_kcontrol() is updated to use snd_ctl_find_id_mixer() in commit 897cc72b0837 ("ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding") which make the iface fix to be IFACE_MIXER. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_xcvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c index 1e0bfd59d511..9c184ab73468 100644 --- a/sound/soc/fsl/fsl_xcvr.c +++ b/sound/soc/fsl/fsl_xcvr.c @@ -171,7 +171,7 @@ static int fsl_xcvr_capds_put(struct snd_kcontrol *kcontrol, } static struct snd_kcontrol_new fsl_xcvr_earc_capds_kctl = { - .iface = SNDRV_CTL_ELEM_IFACE_PCM, + .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = "Capabilities Data Structure", .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, .info = fsl_xcvr_type_capds_bytes_info, From patchwork Fri Nov 22 01:49:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13882677 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2043.outbound.protection.outlook.com [40.107.20.43]) (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 85C311632C3; Fri, 22 Nov 2024 01:50:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732240216; cv=fail; b=IvWeT7hwU+M9dqDnC7FbnwbaoNYM/0HriMnk30gxF8gDTEdH9dN8Y9n9JyDs7tHTwNsyiTB7BQ0VJkjqc5YtiuvTb04tV3Eqc/LtNjAquHYeBV/En0X/+XEBnYivN2v4KtBofqj0dp5wnum4SUJT68upZxIj6DXyz7OemEJGrvI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732240216; c=relaxed/simple; bh=nuVm+n/x1DPZ2Ip1JbJkNzqNdcrp/whxmzqk0xbasUI=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=EGpoIUD2giKy/Yu/VE3XMi+v8OJgJg3l1mYDINmD7ly1BTUyYfn+dNL89wO9BnYqFW0RK5BWtepb47T5iDyoE/3XIW1Z+CjEFsRiC1aT1zwK6Nvv86+/Zry47v4shrwYrmh5T8WR2Omj2UO+Xxp7ZSR3d7+SxMkQhG/QIff57Us= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=JPeohgHw; arc=fail smtp.client-ip=40.107.20.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="JPeohgHw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TfRiWkEkZA5D0Q/7CNYA9FqxiCLYWh3wcXvjnBPEty5xURy2906w98O0K7GE2em6pCYQDHGynUP13wBD5BjK9fMAnpl9b8yef+wJtVTpVWCp2vsviFnim6twykNb0lJ0aG3zOVaKldAI2yiX+VOE7y/nHxAOH8cd4P1llive8KZQC2BfCmgGX4lNVN4dcG8dK/hiHk7HBP9AR6BBeivEth63JO3ZuctIQxv9QIIl6yT/Z/C9/QvvN5nvXtcNljlim2T7tnHTJ06UqYUsbTn86mFthQq9BT5BwqZRr1rmwCFm6CEvVWXMiDFoC76jAQwWE5YcRy/gaK930iZvPa8sew== 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=ZdsVy4/4AcNncYZKeMPoGXoCE9jPhO1Ja+ul7tVf3Ik=; b=GxKxbelE+ToseUnrzeKRQGatjy/mocSivj+YAE1by4UCfjfZNY/RBPID/NGTR3l88HWvgEzbOFk6I3agxufhUGsDrLt1yIpfEmimxSKfZaz28kBfRNVJEnzn2dNPWfUsag65CrBMKLG34Q1yUvrR0ghNcuPVBRLbxevNsIxWBRfAYFXpEtE+v4yvjSzvOCqAMUBmcRaX3syUIRGiqDdTcYDt2tmY+WzZHOtDl3JuCJYZieHJ+As8BX1RYn8PBy3JthBVrXoTngLfKh/d1xf6eBG0OtUrvToTa6ONUAMwQ1ZppzbX44cGqRfquf7Wzv5Cp7PGmDAs3i6tQgk1hwRiVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZdsVy4/4AcNncYZKeMPoGXoCE9jPhO1Ja+ul7tVf3Ik=; b=JPeohgHwxNAUFPBr5dUzOyvj3I5bBWPFCPySCuNCFqEwpgsU+KYgaTNbJsYOK7kp4njYtSzl1TQ+PihaV+JF4Q5vsxjMiTcH4y5lGUj6WZNMGsT0DgKIniCElHrgBPo3Kal7BsjKKAyrY3AOmymUubEKC2rMmnX1j+tPGU+XJueM/qZPzcyeUJpGHvKb7Zy4Gq6UN64/Ub2CJREgNdr3zSgMYR2O/OUKsupA8aFeLYLAlBHShWtRL/PYeooMRss80vz5SY8IzcaHnpdlQlcSKHtFALS6Age1t8VcqiHmFyySRW/8zbt9hvwhTCeZ+xV4WxspnxhnnRISeg+KuRgLiw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20) by AS8PR04MB8929.eurprd04.prod.outlook.com (2603:10a6:20b:42c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.27; Fri, 22 Nov 2024 01:50:13 +0000 Received: from AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891]) by AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891%6]) with mapi id 15.20.8158.013; Fri, 22 Nov 2024 01:50:13 +0000 From: Shengjiu Wang To: shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, linuxppc-dev@lists.ozlabs.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER Date: Fri, 22 Nov 2024 09:49:41 +0800 Message-Id: <20241122014941.503789-3-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241122014941.503789-1-shengjiu.wang@nxp.com> References: <20241122014941.503789-1-shengjiu.wang@nxp.com> X-ClientProxiedBy: SI2PR02CA0013.apcprd02.prod.outlook.com (2603:1096:4:194::21) To AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20) 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: AM0PR04MB7044:EE_|AS8PR04MB8929:EE_ X-MS-Office365-Filtering-Correlation-Id: d8892175-d843-41fc-7e96-08dd0a98013f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|366016|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: doT4SM7S9NTqVCssiFQrG0JH+SURAtLcSbiFBdjvuSVUAf4Q4f2EuUEtINg1W4oQUbFOzeMoMKKnPcE+k2yPtZvOM/3SivGka+PzGLiaavInqWJ4v7A9VZXMfl2RTgId+WeKsf612u0Pv1JM/cSo7Rpv1nLRDMplUcWj6fAeWMXnRay49aqrKH06GNI8xEe4Y+vYAZc2nGtx1ey3XC7frwiP8ueF+4CnS7syKTZoQIoTPI3Mhp/NHVAaz7yVRSHnWl2czWSFVTbYEHXeFGvlG9Xscy01SfbeKp87gHsrCOg5iv0Pj2nIm/hNHEog4L6i1wSq/rK6NpJVFo1digXB40VqHNkttJ0g+5h8VnkQAg6ZptTtzbpjQDHpsB4ruKr+ns5GRrc/VMaBpP/EcWXMIfRXyJFLIUsb3XsFDEl1nwYDiDMqimGW2vwIuGhGouO7JkzGiGczWLlC064c/lHsgAPHrY1tmlV7qqXUD5ZDhqqqzTNBOX2TDnOGxVigFFvNd7XsbROZ1BeNVIh52VZEKxXQ3+bs7ndemrtYILO5tAjsR7x4C+UizwiKIQ5eu/eUFi8EDbJ4OoUXAjQSHLnr/MkOnbsB0CR62uUNULIQrmsaqZ9OjKIsN2q7AMbsA5RNLVLgGZk+ffBp/N9iOPxB92j1uf+a3OoBh01YfZBh10MhhgO55J+ZmO6syYW/uYLGthqqsrv0fypeIvDwy03jZh4UfLNUk55i/5VAP3UerblJCxaK9d0t4L/8uA9gmigtOq1un0buywaLqgxEtJ0XkXpdOZ9fOEbRYur044NsGn7xWq0Dszrr5qGW8lwyQfv25HCdAnlysToXxO9I/FcUKpTzYRX+YYCFwLyg+7d1sLDyY9AX/jh2ylYGkWMDczybrd7lEmdMDoKIwXZ+HlQVgna/Pjwc7OmgbYHOPK84QpaGZ06AukBBSSeJ86PE7CdVvuU3eEcbmeqv9Plg/xCTaYGJl4ELIu2Bud3Ymy5f3KLM0lYQ016te+fEqhSmnlkvW24/pfu9qfsLxqi1HffVC8PfskSTdY4s9LUYN5dhIeR/8MT8qXsflh5TBkO0R0b2+QHxcAvKxZ4ni6RFd50kJ2wOpbu0xWLQLnNCvRCeZWeAYilNtAMV9aeeoHMi81i5QB0TO2NrSs9eEuFk9nEiJJS76YxN50oBY0ADbF29DzUsMitCceogIj5dcXDORhRTbLOx7JGu7mT0LwtKhVeWRuuTwcmNnl0vaarvosGMOH4EjtJwM+ulqiJ7+AN0EI46y/3nVeLrByDfrUYlYCSOsWsoWA947SF4e0CkegCcWpBjn+m6/BNH+Uj79E/XY20MekSdaqmzHvcyLnzKOMBynmI3eZU8LfHmRkm3Ot52GBnk2JN8KfC4qgaBPUCR/j8n X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB7044.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(366016)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aSShuNhwIEHOKxmHabtmXtTM6BczIrx4gBpcf3IpVqAv9LCA4X7pvJ5f2wl1MBmGm6k/VeDEq7HhKjTPEhyi5VhpYA/EKfAGaQmhHgVJSGmwt4H42Mnq8zeROUbyBsX8GnNLOz6rFDtog6smeZ+5N6zcNs6GFTU/DI3jgCuBqS1V3j7fdV2HUOcrbiz7p3hsI9L6VpLw0f3+V5rOW2OtE6vxt2DXSUgMR3fSi5JGQudLd/3sN8s5ZB6MbSplSXaM1Zt7RozNwWFWVT3V8NKc0rMFAL+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+Yfd0jszqd+JjVy+565coK8PiPomGtlXz67gCX4/WhRWj9zU8REw8nTUPmSbug+U5q6bodBHht+j/gq/IA6R0VAsTMhojjwafAojjxFp8LeJRPui8BEsWLRprhe2L2t3t+gBkSuuVLEsQz9GMr/LqNrR0w3cIVthyKdtkuyBULaF84B4sRXAXBEtVwkuFha1zlD6fZ2Bl5criZ8iYIVF8V36gV7OmSoj0ibTuvWzbtaZp X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8892175-d843-41fc-7e96-08dd0a98013f X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB7044.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2024 01:50:13.2457 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Lt2hBwgQjsZ0cN6lN9G2mrr6yJ4Khmeh6LYhlguPNmc7l9aVMoe+GcqWFdSDZLiEUFa6XK4nmQDgg9ikNZ21Pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8929 As the snd_soc_card_get_kcontrol() is updated to use snd_ctl_find_id_mixer() in commit 897cc72b0837 ("ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding") which make the iface fix to be IFACE_MIXER. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_spdif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index b6ff04f7138a..ee946e0d3f49 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1204,7 +1204,7 @@ static struct snd_kcontrol_new fsl_spdif_ctrls[] = { }, /* DPLL lock info get controller */ { - .iface = SNDRV_CTL_ELEM_IFACE_PCM, + .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = RX_SAMPLE_RATE_KCONTROL, .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,