From patchwork Mon Jan 20 10:01:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mukunda,Vijendar" X-Patchwork-Id: 13944972 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2083.outbound.protection.outlook.com [40.107.212.83]) (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 9F8E31E0DE4; Mon, 20 Jan 2025 10:02:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.212.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737367367; cv=fail; b=EGN50wp/JHDAY1n4m9zA5t7oZPhfu3SbG4EQ9tLJWraFvtIlUZtIIIcgqLk79dGS8zN9Pyk5udKQXiwO52IAFMgg5k200j4IrokuPWMdRTlJ/XURrRhljZo3s40pkk0HBsd+e7/uEq5ZYsGsOdERIFV1Qu2J+FvzRJ/fn7YpNwo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737367367; c=relaxed/simple; bh=e53Pigm6+kk9T7rRdj1YAWi+FELpAOjIl0BuGYekSYc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=f5aUwrsYPqch4QOsXYf95DvEFiDE2rNMl993Jyg6u/p+Txwj7VJVBzdZHlPIULZBpuyozlq/zcbc1/XpUBzyY59gpeseA4bpeWAqWt3PqxHkDK1ZG/uRZzW4e2SBmNpeZniNMmLdcDV9cxgmUdeBb4Usd6PKbP5l9W4kW5Bw8Go= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=CtB3B6BX; arc=fail smtp.client-ip=40.107.212.83 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="CtB3B6BX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hUlSRe6J91gX5Ws53ijwyYHBEW05QZ4234oXv/IRdY08iRzSaDOzXK2mArCRQUCCD5qtKmYHeEM0TuMYUjG/tE+IG9dRnvpjV5kT6vWRy7x8q2LurkQti7v3lH4STnYBUCjhhj72hp6202D+5DOoALxNNmKUOGpThsGJBlfHjcBA4nN0T4UqDJ87zecEmv6MCDjSjUSgZWRmv5PDFSZQh8k8/wkitxN9p28oAUKhKjtoOKhC1M9Azw93CMII0B2IWrDl2Zd5JMtXqGQDFgso/+EvmJOA/ZKMU0ulhhGTHju744YZ1hBAQOMMSjcvXDHsPtSLupgWOCuNMTiRIItlvw== 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=cbFZAX+8GKFJ7ojVAYOMqZVKyHnQXs/yp4BhZGkQpYE=; b=KYNBKaeGxnimg04BAx9JBnQtivlgIejoPBsp6Q5dA+6iY2XFwG1molG5GMOOHCjGQXEZ+IaEK8OMttieyG/YLkSAKB66UIY4iUUgX7QtQPfWYFmwEJznjmQXekCF4b80RG8b/WQSlEZPVne8xpxTzuDef3UDplNzzXLdXtvjZnhBMPa+o4ui3Mwxc4ZlOGlc1dUH5NUpB+ZTz3kh1DjFRd0G7Y68givxAloTusPOzaRWYuFDE4zTYeeWrCYlYZZsho6hXGE7Zq1wst827FUVeZzZv5HFnGwlubhmStlTMdLQLL2XTaGhqzFZjl+8LLr+/j3v5z56lRWfpMrHDz0K5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cbFZAX+8GKFJ7ojVAYOMqZVKyHnQXs/yp4BhZGkQpYE=; b=CtB3B6BXIsD1a3/oTb21oC+6PsgU6bj4wBnXJCgilGTqc5KPvLk2W18IGJ7yiDZAwWdWhlVjuzNPDtBNFRkoalqVP/gET0Xt+zPc0089bB+hxtb+Tr3mecOaJgimHzV20t4Lm4sgmC7XYai0yxNiSe4cxFJNNa0L3PwfuQ7/Ij4= Received: from CH0PR03CA0256.namprd03.prod.outlook.com (2603:10b6:610:e5::21) by MN2PR12MB4238.namprd12.prod.outlook.com (2603:10b6:208:199::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.20; Mon, 20 Jan 2025 10:02:41 +0000 Received: from CH1PEPF0000AD82.namprd04.prod.outlook.com (2603:10b6:610:e5:cafe::ba) by CH0PR03CA0256.outlook.office365.com (2603:10b6:610:e5::21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8356.22 via Frontend Transport; Mon, 20 Jan 2025 10:02:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH1PEPF0000AD82.mail.protection.outlook.com (10.167.244.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8377.8 via Frontend Transport; Mon, 20 Jan 2025 10:02:41 +0000 Received: from vijendar-X570-GAMING-X.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 20 Jan 2025 04:02:37 -0600 From: Vijendar Mukunda To: CC: , , , , , , , , , , Vijendar Mukunda Subject: [PATCH V2 16/23] ASoC: amd: acp70: enable wake capability for acp pci driver Date: Mon, 20 Jan 2025 15:31:23 +0530 Message-ID: <20250120100130.3710412-17-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120100130.3710412-1-Vijendar.Mukunda@amd.com> References: <20250120100130.3710412-1-Vijendar.Mukunda@amd.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD82:EE_|MN2PR12MB4238:EE_ X-MS-Office365-Filtering-Correlation-Id: 94f29af0-9aac-406e-c6e0-08dd393993ed X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: zhm0HXJPHqtSciINBpuK0iHi2clmMIAMW3u/xARUQJiNUkEuS/wVQbFalCiyRsyx2UPPDxQQJaVor5MWfAOWDYO7N0oSKqOnDUh2P/F0SOmN9X0slN1ea5d9XTqw7q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axp1M2tNpRVaT6/JA30uIEb0avWUvVMJpghqwmKKGXcHq8InwUlQih0vp4euxZIiafJebJ2+Eho+tCnYOr+NDuOTsFwzpM8vYCG5oLEvUXCqJIo+4MzywElKHygBMuH9BoaPeFzGkrwONPt7Wwn28jaTCucV/pcbQwaDaaIP792RMw8gAK4Z/WjYyM2e4caosVbOpozkUwcHbu1/lt4n52pbfdZ6Wh2sg8LOvA5rh47E+Row3CFDiH/i3Oy5QwPx1QaKIqyzxXvBUkzD1vFbCC5lllQ4uShGX320nYqMBWLPqr8wbONPkp+jiKQbKlMk= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(82310400026)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2025 10:02:41.3449 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 94f29af0-9aac-406e-c6e0-08dd393993ed X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD82.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4238 Enable wake capability for acp pci driver for ACP7.0 & ACP7.1 platforms. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp70/pci-acp70.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amd/acp70/pci-acp70.c b/sound/soc/amd/acp70/pci-acp70.c index 9b298ddb097c..1e22be4f11bd 100644 --- a/sound/soc/amd/acp70/pci-acp70.c +++ b/sound/soc/amd/acp70/pci-acp70.c @@ -555,6 +555,7 @@ static int snd_acp70_probe(struct pci_dev *pci, goto de_init; } skip_pdev_creation: + device_set_wakeup_enable(&pci->dev, true); pm_runtime_set_autosuspend_delay(&pci->dev, ACP_SUSPEND_DELAY_MS); pm_runtime_use_autosuspend(&pci->dev); pm_runtime_put_noidle(&pci->dev);