From patchwork Tue Nov 26 05:32:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13885476 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2045.outbound.protection.outlook.com [40.107.247.45]) (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 F334B12F5A5; Tue, 26 Nov 2024 05:33:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.45 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732599221; cv=fail; b=mrw/sPBljSIBbas2Ic6x4EWDkN9EIuU8TTHHxinXnkLxPJJDRiaYVMD8iJnySD7sQuclJwI5JDbCq/qgqcDPjJXxTWCcBdys412ZoPTq9jri6W0ae3UGj8ilsAZNYebDKQGier8KQYdervWP9G5O7t9G1WGr0Jjeztt2O01GrMs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732599221; c=relaxed/simple; bh=8kgGcxM8tn65DsPjaKXDrvKkxoyEDGYeI5uQYTtosp4=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=oP/8glPnQPj8CRbszPCN5Nf4ip84gTr7AdpAUobt3cWfVWNt6ulEdKLQNWZHP/vEUe3/6TlBfAlC0yv7/6CJ/My6fEOODA/u1qv7FPsHIZqOHzCiqgIhMeS2Lkh1WgL47bftAVI3J5Knza1qvuDLn5Yovdj7aQpMcE46FJdv2VE= 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=I7Obt85M; arc=fail smtp.client-ip=40.107.247.45 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="I7Obt85M" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tQ6JTeoEBgTU1zUH7gLuoRgMNXs1rakje6Fn29uh07EtfXwr9lZ2lurn6Kii5jLUBEaahkO6zR5N5pKQcbCb9Sss6SId1VBP/mXAXVHFosgcyuGFQbPQJK/RoGOj7kFUK89FJfHRnxpvZMEiclp8v0lI94PTg7nnpbAJRuEzRSi7AecM/tTwchR6IM9UOYq2nXYvDaSIN4jHJLPkiEk0rFgYLhL+lQHt2zSFC1DstMRcVZ4gyqwSNfBPZTjoL1CWeKgSRA3Zhx8SUNzjQrwaa2Oo9JSd3emx7ykmwnmy+zAqadVyIUgxDcBgYlhOLfUZFy6L1S9BN+YxkAaO/atSoA== 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=+SBVo+6R8TMqDZjwFMlALR7NB/5af+hC6iksur8b5MU=; b=QgS92AMRUZWtA/3y4rV8QdkR6vQUbZ0X6KAObvdM2rse+21s1VcTBAYMrdjf3GNBa/8OBgdX28GPSHGSjopLdcPNTtHQ2WHMZUDrVw2yforjGnRxUnwMzoXGbbnUmhl7xONLe1mKsdtB3jtpAwOsIfPUMNi8bGAM7r50xlclUHw8uhx4jmsCMi5kFhVYvDsCMXV7ye4rda0w88IdvHXnb3IfRf6ar7YKVIgqh6gy3qsIv3oNmxUJ+YaqjMWi5BwColg/ggopR51JVsHxd8WeIgnvtHKFfALbC3yMvNnAY2bhMyTEpXm9LQZBjYQSmtQX49BHWyMTY9B3tGsl/5OHLQ== 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=+SBVo+6R8TMqDZjwFMlALR7NB/5af+hC6iksur8b5MU=; b=I7Obt85MP+vYYLNvyp5w1tRKbBcp9uhoI5+8uBjkq24tb8eFsN6s1O8Esh/yWkJgSjwFG6uajYWJLvSYl9NzHyO0DCYHbHdcbclAs5v9rSlJRCDT9RywzEkJIhq7VjPCkNUiCpA6T91cvM7LEb1XWBaLRghMG/6vVJnPTTdmLQ9WIjgeVFixX0bqPoJh6JqyAS0AkI439P3WyKDgpZsHNZdVH3X9OyBcbEzXDbeTt1rrW4u90o7K/uw03M/Zf1B+wqkMl7W0DJn5jG099+s5lmnYv6b+yIGHN3siOdUqxc1CyR3u6eFFCuzBcyvcrkq0txD6kvDbNSmMJkiHIuMakA== 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 VI0PR04MB11071.eurprd04.prod.outlook.com (2603:10a6:800:262::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.19; Tue, 26 Nov 2024 05:33:37 +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.8182.019; Tue, 26 Nov 2024 05:33:37 +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 v2 1/2] ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER Date: Tue, 26 Nov 2024 13:32:53 +0800 Message-Id: <20241126053254.3657344-2-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241126053254.3657344-1-shengjiu.wang@nxp.com> References: <20241126053254.3657344-1-shengjiu.wang@nxp.com> X-ClientProxiedBy: SI2P153CA0011.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::14) 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_|VI0PR04MB11071:EE_ X-MS-Office365-Filtering-Correlation-Id: 689d76fe-4228-460b-b275-08dd0ddbe016 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: tYtXmsfmdmqpVGZGM+TgrtpwDsn+Txy83+aSawNLk1wyMYKuGXYmCDabu0A9yUZIYOFlMSK5s/IqtluNlWaA5O1Gz+L9Wge9gBmoDawTBpJ+9Ay9rCjk5vUkWMTLzpv2xguPcV/hyKvRR5Y32fnijvoV8ljq3qNEDdMejnfiPoQtqVKS9rRizuaLQDe3d1ayAIVQKSBfaxhjL/IDEfJA8fopXO2XZ6Ziwl2vS0YbmgGYu5f90JP2MysMfYNT0vJagFVhabL9SKf6gcGuCQOokLuyLip525WxI3FxEPSV91MMHOdQoIu/aVABTUkPzf/oP67SnJ7DZzPWzRn/azgM4PE9rtvCY/DmCJNQW7++YAEg2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HocgmYVbwd6h2oXM+fzS1C76c= 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)(1800799024)(366016)(376014)(52116014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MWR884j76w3IaRdcHdDxZG8WCgq3kVQzgJXDzjZGQdOaM74DyZcntTXAM76NsHPaePFe1nGMcLuSTzgxdIgdMdq/sUzmzv8+VpEB4BA0Y+2tL2EheJJuJXdR1HBYr+B1i8PKlYiv/kLtQGiyWtsBINVFsihan1rdV6erWOf/4mq/x4OPU356AwF3JO/dPo0msD5fdGcU7pRwyAUgJ1v6gWPD2deHQTYWbc6jpD71p5Xnc0TNcT+Q4w9EYz6S85rjPlQAhBiKTSV/gy04Ogm8a1gKIuhjBc0k0cttLoWLWMLJ7ogZLBzSbTAPrUD5tcYTUBod+epg7HwMtzpwXNVc1f05v5tmaLfyIb6rFR6k1uVVZpSQ/WnKz+TTfWszIPiM34jUE7a4yEDNBy5M98OTRsgEywpHD5B0VfM/rOdfIbnyAx3MKPoO4p+3O1PnDWyPWpzOGbI065RzoStCITPTMtD+lupBUMpLtbPaUXtI+1KJkdKUaOtEfVp82GOBy7oy3K5kL6IdpG7EiWHiwupjlmx60NRYCVcs3s8tsPqUjh9cAzY0oJrTMRnKexoVouV8GsfvsPFovp0dFmqYAwygFEM4Sti0nqeGkT9+/k+XJtX7B448zPxysjj/H5GBxUGelMdhri5OgeUhL9ZwsQmfevf0l2aYhXqobq1uZxUVSGkkgeTjTmCa7hX0zAvH2wrfivKk7pbL/o+a92z25HC5heAPBlsiOU/QkPVJckVUKgDlBjicIQudowtXLTsf2wMuDnRlV5nVFNYZflw6S3kH9cQEproKb6YtVL6TLj+7L+k5qPPD+EdMZ/+y1K6gMxQnP8LKCnxnrayIeak+zxjyXQzUF3yBrDQ9JDb3x7j8q6gY1fKCVC7bozGbwKFgXrj5m0HCBpaAS/wc47L8+WTXpnmhPqMcr1D8r6wl7VxZTNFczwXGvbYHkamV4oxykjxMp/prr7eaFwnAaC/n7CLQEzDT57CbmslnnsXjV8BYxGRfb2trveU3suUfa3r0JyEKYQsJ8XBW/oEITAKy1tf+PlwdKAVJfH9PcLcZcR3fXodcFgrP8IweGDiGh6BbuHOM5zKwlbMgkJGWIuKR61xZWuJZt0MJLdvqC2SJtYdmtKMWZabftoNF3wsmuwxrz1UDzWIzR7n5hGmk8RE03uz1VKeJPqlgYNCdg5frmZTZ/aMFr7UWlV9fyQRu7UtgV97hfnDte1lbvPVwp7GB00N2e41kUhQwQvjNAI87JdCEyGfWlSACFUH6fUVprDR83C/7vtcRVZ/THBTPXTFvHe0ASl4Qx/DxHrE5/yjiJKWG8mkkCJEaVq/kWsFhtMi9obkLNJNp6WliaqcAUUPsWxYvsudajOSjJkpTZeFoMoS6CdbM8cgCx7QvhL18vtMX229p7mZZSNpDMEwemEclFvEqBOggsoiVuvA5iyJ0ioHUbop/SPyLajEJRlUYXGhqxuWZHL+G1jvCwKGG0uxi5Xn/l1YElgY2+9CgV+dukUEZOGf21o9lKOx7HuhWYp9eptLjmhJ3E5NlwGgBbFJAZ4IscQ4E6yKPUVm2+fWl9D0kQNwI3pcG+zFWK71V8nN/t2J/ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 689d76fe-4228-460b-b275-08dd0ddbe016 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB7044.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2024 05:33:36.9897 (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: kE166K+/49D5oc8IUOUkxap2X5L/b+d43HhxGDVMipKvTRd+XnEUle37RG5LQIjniGHPZ7GKdwmjhZ9hUtGMcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11071 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. Fixes: 897cc72b0837 ("ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding") 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 Tue Nov 26 05:32:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13885477 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2055.outbound.protection.outlook.com [40.107.241.55]) (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 8D6371898FC; Tue, 26 Nov 2024 05:33:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732599225; cv=fail; b=etiCwPTM1YnzMc9AREgAtCkwuyJC1AmIgy7nSLwXM3g2iUnMuMLAFIKfTHuSQQpxg5t6PS5qzvxSyQH2bvoIiLDwvFVXBk1VPH8B1vq31RsZHX9SvbH8ndzR5diYOPdv1+mezFMUIAgbntOqKNQ2Hrl1DdRlMWTtE36cg2vhUew= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732599225; c=relaxed/simple; bh=GdBoQCiU+qB1I3CkoQR6o9m0TReSt/L8KV9Kh4Ky7KM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=Fv+s7WslrhuATHdv8M9Gxu2PQdh745QAw3WSskns7GngOvFcAEAsiFdPkxC41UmULX7yP8kJO7MJc/3xPMSdOodeS0ZQNX8g84AWOv3eXuCHrgtgIbb2jhyse5X9f1t+aOUFLPr+Dn8C+bjlZWCT2b2YM7suSejrpX+UlusjAws= 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=muW2Waco; arc=fail smtp.client-ip=40.107.241.55 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="muW2Waco" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mf28WQY351+jziJ+U8X/f8xRbgOTAR2bRyibyNKaIT0V5zBMVL3fAapsx9kFc7VEB/0iBskqDPu/IpnI1t5TwQVuRcNwBIyn2RXpSbsRv1ui13iU39+5pTTx8RMha/qe2fZXNEY6Vm8H7C9AALEYPzSSz/QeNjqDYyZIpfi+SZsuUpwkN9CzIOEc28lS48Z7SzHsoHXkgpXQ0Hy3hcGn6oPe0bY3E/h94kZ99luJnebjOowXmEwK60cOunonAkr5LbHm6MMCkZLm/BQh+AVV+nGITGx7hhckH8CLzoEO0keeCF0HV8zIrcFEjHOhbogNDyk/hbCEgzNCWKi+4UBl1w== 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=fKlp7jfKZr0CIv++v35q0PqUfQNFbhf0EeU8Viv7P1Y=; b=zHoiOIdDtvjssEv8d6hAWlEXYJkWcrBBFNEBWKynuufdDn9MtatL7LdGjzXfecliW/1dA4kGoGujrgXFwzb978HLFauEIHptUNWKP7BboxkEz0nnppSlJ4VVhoApBkQbpI2mk02I91jb1Y3Qk7zSCNsxorKm+1Ae9hxn+9CBH7LI5f5EjjWOC+hTbuCVVhZbZtCq0ujyO4oYDiUixRnXn0YUnA5zB4dNPZtkRd5eSZKwDVZpbDE20gHzMa/ezsk5EwEV24AcpyDN6MqVl6e7u2boAo9oXZIex09WIrODrFPr7O06VlBp++9ZGrVKJYMERMrKnMYQ3ETIid0x6VPFvQ== 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=fKlp7jfKZr0CIv++v35q0PqUfQNFbhf0EeU8Viv7P1Y=; b=muW2WacoQ8dn27T5+gTK6Pbk1enEx/+/ug8Y5krHgKzBjaeDSMxVSQ718QiIHkJL4/T2gLmmk3rparZMXUGd2c36HWo1a0pO8rConzeUrBD91UbhsLpf99NK5qQyaWGHtv5PpTuxsyYajLFLi/0YYL3bPHIL3HXVjPZeKQbR3TscFjHHbyp9Q17TsBOQ1olU9/4XOxDUHm3mmB7ayChMKKxE0h4WKoca/U5lWQD27W5XLH8tOztbHKGlJqthE904YcNBR9C0SrPRNHTxjWEWOcEn0nloIrgMqeKW/xWr9fw8UAM9is5RCO7P1+l/mETERhXJnS0v7+eJbwOaKMgpeQ== 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 VI0PR04MB11071.eurprd04.prod.outlook.com (2603:10a6:800:262::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.19; Tue, 26 Nov 2024 05:33:40 +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.8182.019; Tue, 26 Nov 2024 05:33:40 +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 v2 2/2] ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER Date: Tue, 26 Nov 2024 13:32:54 +0800 Message-Id: <20241126053254.3657344-3-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241126053254.3657344-1-shengjiu.wang@nxp.com> References: <20241126053254.3657344-1-shengjiu.wang@nxp.com> X-ClientProxiedBy: SI2P153CA0011.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::14) 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_|VI0PR04MB11071:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c5e77a8-3052-4f60-29e1-08dd0ddbe26c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: tbgONFerfsLKsf5O91xyvVg1Q1Dryld5s6bPjRAEXnz1jcsFrH6NpqLo0SJVNLWnWZOuuaXh9AswrBBZPCDWllMlfOLCCLramjSvGdtPW0NxwZhoiYNp+NjGeb4ye2v5Cn7Xit3kWLDK0yEpbgmy31LmWHkVQ9kBm7uUvGZZXQTwCTbl4Vh8VoNGPa+UNPEOOF/kX3rMCHy2FI1EWZvpQzJ7jYx77OvsR/ipeeyglkakihiBywj+Gzk9uzSqmhDz0miB+qUheSeR55MlInAmqkEtKSNG3FAZNGrAbPsFdSv45TeBvw4MfEisCgypcwqdV/oduikzgFF3Ev0uQMreJtY2LbaZYcl4r9RDeYsXplAKhRwHgeYMN8b52kxsPPSHlzKF/fxPagqrguY+fHrfERRDrYs+u2C8BbtVnxQWNE5A3SlP2Dk1pEoaToUHmcz+1FxoYMw9RLSoYi0uE2wgcjE7ZpQbpyvi/3KX7FqM78dS3G/tuUKwockTKZQ59JulqbHqT429V2irqj0MiXRSz5yJ/b30M8y6QfSnDtEcQoTwR/EfY0zWk+/XrmlnYu4DiaNfgXxDFfmKZA9qYU8WIKevEA9oWc+ASmtxV+gwFBJUFz0xfnHl9jCGZGMgek3X9CgTQuhpDtxkhiofsy+SQJOkUhH5KNy+mF79caiYVeOk9cVVB0tcAUG6iiywQdE2320FM/MI43p6zP+cOnLztMZThU+LIqxNczEDMM6bQSghymjJ8vUi2druTyZnEmBaEkERGQVajtd5XJHyJjqVUDuxEFQGXyw44h6PNogOTBtExf6i+7S0fntpJ6H9vcPIfhSfwgsS0aRvEr5IIcITFm38Yzmqeeb4hMnrHPp2rReDhOVTewj1QDw1gTqJSugLF0maYc3NaCMv1pBoKDj++9JCQvH9s47vpJB79X/cHG2SdWnhMDY+3wSsKPNdUFvGa1XD5I2d/9kX+SoVe6dm+35jMIDU2jcgA8G2eHfTMTJeXhhSJfmTW2Ur/OO3MhXfKsyT7yac4+r+jfQ90ICk34JhBbp0XQT/S4yZLUd39aq8ft9SH1N/frA/MVpv/4IQNnjZ4+i9eJcoqLo/ZW8wVC+xRu6UZBaljjXc4TMn1np28lfnyXUoRW+wBWpqjeSDgnQuUc1Z/pfc4SMXyYeXLz2UTwy433+3OW7vgErANiquwJMhIqNinS1DI94Foh+l3BSxHz1ht10vHj454wezqZ71JjQp6YIGpIgqKqPmBvSdH6yNaZFJZ/9TmXm83WIturDm7U6R7ee3+L5eoGHbW2tj3pgFf+6auPgtQcLX82ngq22IFhATFr23McmI+MZM+8u3OaXOVP6rDgUkqZnu+DVz5VMlms/7tsg3hMXaoKxOxdFOXNAV7mXKJp69GyLfjrHZ7pyvq2NcVWfxUi06DBa+BnotDP/pIa+zf0P6FcA= 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)(1800799024)(366016)(376014)(52116014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vuO24OLpRnar9+fy7ALX8Z1if0hOI+QQdI+pwEUQaptecuHmEEmrBmBgycVJkovrucSd3dlyy8RRi4AAhhZTj9a6gLA9TqmQ7PZXH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nTnzRQh0+dMFspfsHCQdFkA2nffUrn+z9tSJ/9P/fNAdws6P+JJJBxs9RYh+HZVrNerWVSOlgf6rhzM9Z38IdhdSQJ6k9pYzGl4vWW+xxlMm/FlN/Eq1V4dWgkxfvWw5su50QxiZWkBD4xTybQGUbBOL1IEjLBSUPAQZa9kHzPD7TwTtsaO/N1noEgBHC1ISiEi2759FVF9uLJ7CrCbL56LN6oYSUiF3vZ3clBIzeKrATECGQiqGeCVAvTae1w0E3RDdBjRklp6qZnpAFZrwdSIJ+jdwnm1aJximlC/2xvSx9rtDAhiV4mK5PR8xBKjvucdBOMIGQAuUbMEsg8L829Fwi4C9WK1O0iF1fvKpOWiarbTdcLsOXGJT9H3iU2qBJFsMDYDOxSZ6lqQtFG8J1HivbF X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c5e77a8-3052-4f60-29e1-08dd0ddbe26c X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB7044.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2024 05:33:40.5439 (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: WOTx0e/4IE6faME1ig5ziBROVQx+4C8/CVlaggmEu8e/KWob+FzQEMRh5iUAsGrNFz6kAkA6D3URFeCmQenj/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11071 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. Fixes: 897cc72b0837 ("ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding") 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,