From patchwork Mon Jan 20 08:19:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 13944831 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 EA485194C67; Mon, 20 Jan 2025 08:20:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737361230; cv=fail; b=qSeqNmYmpDG2G5Hsn4+HHdZKAvAFrUe4nxgWnhxa1GISolhnBioxkoCWi2/6ruCamK9LTfxK2/Zgp66UMh+PvHQMjij3+qWW7im5VOvWrdlAmhHlVEVVGESsSyMU15HIiTALGFlzgBU7gbqxyH7gbVl/Lgm2rANgWvOWMz/mO58= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737361230; c=relaxed/simple; bh=EImUtIq2U8wILuuxmLNQYDTVwGOTA32X/lWYfDZgdVo=; h=From:To:Subject:Date:Message-Id:Content-Type:MIME-Version; b=r58IMjXysSzYcv4F8Htfwy5xRbsilqmjPkuzIyLxO7JQDPrcKQeiaddAQ+7cZF15cKgpXV3f2QjU00yIc1IZu68lB7tg1RLWn7toY2Wp68QfeVul7bhKP90ApGuTIy6AGdkb7qutJ0AgeS1XKJi3+KUrlrIZWEmXA/2SpEpOu5w= 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=KVuZRJZY; arc=fail smtp.client-ip=40.107.22.42 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="KVuZRJZY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pODqVOCVRWmleb5NSUlGPg8OtD8tiw6mEhxj4DwxeOuyTNuEK9haW/1O/I8b+imqtwXamLRpwAOEtBeQhGk3neL8+cLKWq3feW6qDLN6PQtA8DJpIsB7CrSIznAbQCoY9m7xbf/rPN6mn/R/JlnX9q+onO1M4pVSQCIlK3SEANIZfQAPFbGNY0jLo/zKkDNKe6uaNWEeeMWmLAOj3GPtBJmUeNzBWT9GZl1FU98avX2OQM4G9VRg6N4JlzdSAp3L5WspHB7enX+rfpdcftUCnT2TPvfdxfQ48jOWDpmSFBEhNPeVMoZh6SEEVLd744xZRgfo0uDK5wq1X76Gnjn9Hg== 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=OhOZ/Ju5+Xp6Bp0ZOvFWkAVgj34RVy2pGByYcIUiZvY=; b=UfPrZ9tQ70nn+n0Gzhl2B/ME0QznxvPWShqXcYsMNBUzlH04RulNGg9O38yUJvHdW9O/BVzMqTi9dtcqEwAok0J3P0aEasSMa6azHVe1hKXkcHotEil1Et3k1X+kQCM9kUEDRP8zRscG6hjmpiNitDha8dNwwzkOQeFMZsDE+fHNmra/630xENnp+NHnYtXjC64HkkO4Dkr9zknrQ/L2tdcA6JVAdghgkCdBxthoTzr9pbQ0p/J0tG8xQAyLhrvsON6jwwjWVOZf5vYhfzMN7C7aUaYZiNI/X2/HhB6in770aPOROqr9hyIgV0PRuLvd8YUay2QXfOLRG2i7LZXteA== 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=OhOZ/Ju5+Xp6Bp0ZOvFWkAVgj34RVy2pGByYcIUiZvY=; b=KVuZRJZY4ipYMxL/AseAtSyPpaoPEvF/GPnxfqZVVP0hmkaUk8UEaokgvV8jNt6RLq8M1gUuiCc0scCesCyKQnLJAF6MKn3Xh+ZyUUUr6RhygmT6FxezMwFkSBOHpURzZOcWprbC1j7TUGly5RkZbRbPi+w2cmS3ESz5pMyVYtFLrpRQ/FyKc8B5HOgL4mUh61ZvNMvvEFUyRvLJ8M0vD6iAHijknmfwU2QFBwGa2bpCzLHGYnivkOswZxr/nkcuNYmJeh6t85Aa7tejeWrWiZK3Mp6048dQaj08hmgEsE/tHVi2GlUyUH4BJ89pPAX9j3yzQQPvHqUBZvXl+72OCQ== 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 DU2PR04MB8933.eurprd04.prod.outlook.com (2603:10a6:10:2e0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.21; Mon, 20 Jan 2025 08:20:25 +0000 Received: from AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891]) by AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891%3]) with mapi id 15.20.8356.020; Mon, 20 Jan 2025 08:20:25 +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, linux-sound@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] ASoC: fsl: two fixes for asrc memory to memory Date: Mon, 20 Jan 2025 16:19:36 +0800 Message-Id: <20250120081938.2501554-1-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI2PR02CA0008.apcprd02.prod.outlook.com (2603:1096:4:194::12) 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_|DU2PR04MB8933:EE_ X-MS-Office365-Filtering-Correlation-Id: a6a70616-5708-4dab-35f8-08dd392b4a21 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|52116014|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: bJR3Sq1v2fS+1cagCQnqQweUYPW3DxtB/GF8Ff/ev8t7pF/lkx+nfshL7SffKlNVlz8LD/gqFo+t+dVHCij6Lc/hreWHMqh8+8eK8b455QaWgg3O4kjRUYBQuL0pTVkO+vYsp3TyI9BHb41jG4Foec/C0Lczk2S9oLjGEZgIsT0qrb4+/QwQ9Z1sTljkAEUgd7bQL2VWlP34b/hTJVdhLPCw0DqqZ8wStCAr6ZtU8BPtXJ4kKWhyYI3myLyaYc2QatGu216Nm6/QWCL0lKW2H5s6D1h2VbSIGyqOBxVdd6NJ5t1+Y3bZPXZTgQzrfMv7PcldVAWFATlGijCjhCQjWiuvYbHiM/Fvk30q+heO0I5Wh56+Ke456C5dxyJkngEUug0RsgMl6ITZfjwft+GQeWqtXL/DYX1Dc4sLO4jfHmV4125u4hk1V0Bin1dxDKhf86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CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB7044.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(7416014)(52116014)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DWEWD62E9ISnKXaDPQX8z/shLsX4TP5l72YAqt5Whz2+2dAsgC1XWcG4NqADx3jM4oDbvPgwm6QAjVPefZwgl1wqogvR7/BVxYZqBJGMdS8na6Je3hT45eWPa47hx+aaBkiH7++R/wQsoa+p82DBT8s6kDfObL3qtnEub7aN/zU4AZ5ypuh4ZvTV0o4yuLBUz31uj/uHdYV2+xoxmOdNxjINX4Vz+wvFxYhm79Pp60i6yUBsporDGdG2U0ZYySuVLzi3/PBzTNXXFfODh/g4yfpdbovhybKCB1+yvEs2I/q+ws0zXEAIPIb3I88Z6cmRfg9NAkMuvYfcmYa83bH2H2akl5RDjevGPYn/9IDIU1YN8p70piIkbTeU/UdjqVCER1/feBqMuBNpayoMm+3OYb2XbQQqubpTg4LhLRU5mb4lrCii6leJ5hFGrH8xz1YwiVzRTtTlvzcvgfYB7E5gebiPoKZT1apsDZkPWdzDN7hTRXYevVVD+H4Rn3sUOczyeB5giyK32mOEf/tCMLVrrk9wd8TQPE0PBRSBjeUu+pkehEYeW66dJP8K1pSv1Nxe2DNWv1plmki8FXS4UatNj1beL21C0EbipzunFVwqHkjeHRrXLw8+wqej1/8g6aBJD6umEtgT3U6K2qtmr84dUhEYb5vFCgQLH6uwd01b0cajOhOxcG4Jr5wZzwfPcijU/ghS7x/gqGwz5cUR7FOaFH4yWTVSPsnXaYi7qHrm5aGhcr/maBVdIpR5xCE2FWBkVLB8oRvFXQM8gvSO1FKx10JmaccrRjZWwa5oiQw/nIM6EsiZDaX6aVRaxHLI8fXoOTR3AIpjG5kidnuzL7o3TgWeH9qQgn0W0bk6dpwaiFTtWXZWBTLVmfTICXHKZmb/KVU0BIX26NCUqc7V+E3fbrjf8uCkvYvwlbKYtCDqghdOQKsRKrzAnroFEJTHZaRDCQmydZjq/44YxOBetNdZdTMqXdQuj3yZdZJfyuW3x3Gd6PD4SzZK64RJzxoL/9hjbBnzboNqlyB7dz4rW8p0oe3n5t9tygWC3APrDfdQSFZGB9k9M+RHVvCosE56UqYxmSbM4MoIRxCGPI5c31FcCeQmU7+TgtgtCZNvMUb35YgviCLIj7sALs4WjchxFldhSfPepUTC/v8N42PCsHa/2iSShpz6tGa1bW4udXO1zd2uBNne0ybBsjVcAx9nmlr6+FBUu0X6ppS6r7it/IQT9Mr8BVOlHeASwKxEp5dG2pBBX1KgBk3N5TG8F4ivVsCSLqdgLot9zXDURdYi/GxuRFx4kdfhUvOtKAtMJcA8CS01QOek9/FQH/zHfCpHVouNBX8UUs8VioUlr5AIoYM+mzojfYwI4rJkXH1sofQpbhCbPAdRPQpykgUWFQR0b4M149TVigjUV/e1BXm34bwiORF70NtEPPspZg/5KYRnx2xCTZGGX16eAChBpBrKvEgEAa5kuprjm6O0wdFYe8mKF99HK5/KXtrRFjHm/8kxoOo8e/I1ZGrHMgy/ebvbOkgCQA5PtRO8wlAxHfcA0NzgyBxek75DqjlYld/brz9yB05SO8jZ2Mmi1v1vqdkWKdc+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6a70616-5708-4dab-35f8-08dd392b4a21 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB7044.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2025 08:20:25.0556 (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: aYpghnVqMLUwRLpaA4N0JVnEECFW7EPOqB0TAvII2NY3jt2inKswMsUGs9xjAvR/aQWDrl3mXFkU/A0JltobhA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8933 1. Fix the suspend failure for memory to peripheral function. 2. Return error value for processing function. Shengjiu Wang (2): ASoC: fsl_asrc_m2m: only handle pairs for m2m in the suspend ASoC: fsl_asrc_m2m: return error value in asrc_m2m_device_run() sound/soc/fsl/fsl_asrc_m2m.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)