From patchwork Thu Jul 7 13:26:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 588136 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42802C43334 for ; Thu, 7 Jul 2022 13:27:32 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 970DCAE9; Thu, 7 Jul 2022 15:26:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 970DCAE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657200450; bh=UyNDd2Xy5ZQ3z1UYEdDCvysH0oLAZM4c3IewCQkMw6Q=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=PXw80WpfM6INHjzquQx+sHdZvbSSH6Bt6avECsuDonKJ79vMdhidkTnHGKxSd2PqQ tztRaQDa1VNsbGjXS23Vg75axKPGduN9ZGMa1N7qkFr8ByqRDY/xm9Z89Me4vr72rM GO8WdtBrVXCB0q19gD9d/VFos4OmlT3ty5cblcIU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 35FEEF80137; Thu, 7 Jul 2022 15:26:40 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 46AC5F80104; Thu, 7 Jul 2022 15:26:39 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2056.outbound.protection.outlook.com [40.107.212.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5E2A9F80104 for ; Thu, 7 Jul 2022 15:26:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5E2A9F80104 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="yrHkpd8s" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V24/EtVEf7tm31+FcrX2yTejksO/H+CG4BlYtlmJ1BvrdIA2ZV+ObgKZWr+mCJ2MfYmVutxvmctIO5AhUz4CBAY18MOAWFwb88VeBjfH12Z0ajOto5moKLvNUgpnedwlz1OqgngcuGsYpQvTHxv1+BzSnhB5af7AazfttPn6e4kOYV9pVcAqVZ9OQGdqdMWPk/xOuXxneq78Orms0JGrnP6Hn6MwvgU6UuZmRE6oaXIhzKhRZSiybrzZznHEftw/i0h2fr/HVYOTg4sUXclM4iHW//aKx2ffKvtYT6JGoip44FwGBqzvb1maoxbHk03MrYmfGmrJirvTmA89nCc4Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=HfMly5rDRIY47P6XSIpWR64TGn5M3TgXr/DrSkfpN1I=; b=kDii3V5hJyPOQScdNcfaQoDKqIpGKGgnRtwWYffzn+DWDOrm6qpwbPcSq6A99avCQP59a83aaXQIih0FZGDOMsbXuEOdfy+/gUvzAtVSEORGsbFiK02gG/GN8fvWvdFQq99+tuuu4G9ojdXrIiSU9q5+9S/aCyCpLubldsjpwjbfXLtEyZyyRKemkGuCICFAw9NTcxQyns8mv/MyqXowtFebLGCLUUr8rXCJRlOSGKhcj2zz0SLgCdmhVFdDn5PrBiJhhMzpERhUzz3dpsISbucA3KJO56Dp8fGRAjXCi5kqWH6cxJtV9INfAOJvsJo5OqctF5302N2G7PTg5JJRKg== 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 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=HfMly5rDRIY47P6XSIpWR64TGn5M3TgXr/DrSkfpN1I=; b=yrHkpd8syZuFSSC3IQXWaCXlry5uZPFaYNAvrRUoprvtyBj+vU0vi/td9TP3BRi1HNfYF3dYQVmtrkqnKi2jTjnBkrQP7d1CyXdNbj6BJwtvfl2/r9jDuhXRioO6wJXeXlgmT7U6ahLFP4PS44d5drTnm5oYAu0/QiS4N1jrBRg= Received: from MWHPR14CA0012.namprd14.prod.outlook.com (2603:10b6:300:ae::22) by CH2PR12MB4200.namprd12.prod.outlook.com (2603:10b6:610:ac::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Thu, 7 Jul 2022 13:26:27 +0000 Received: from CO1NAM11FT007.eop-nam11.prod.protection.outlook.com (2603:10b6:300:ae:cafe::74) by MWHPR14CA0012.outlook.office365.com (2603:10b6:300:ae::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.17 via Frontend Transport; Thu, 7 Jul 2022 13:26:26 +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 CO1NAM11FT007.mail.protection.outlook.com (10.13.174.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Thu, 7 Jul 2022 13:26:26 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) 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.2375.28; Thu, 7 Jul 2022 08:26:26 -0500 Received: from vijendar-X570-GAMING-X.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Thu, 7 Jul 2022 08:26:22 -0500 From: Vijendar Mukunda To: , Subject: [PATCH 1/3] ASoC: amd: remove unused header file inclusion Date: Thu, 7 Jul 2022 18:56:08 +0530 Message-ID: <20220707132613.3150931-1-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45566763-9762-4d9c-1cea-08da601c4b6f X-MS-TrafficTypeDiagnostic: CH2PR12MB4200:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W8nqQr6/lPb6QPC98LFvNKhX8bsSl3EUgByW5kxotNNv32kon8cO8luVEla2CLb/LGUtoRGNPtmwXg3YVtoXGGa9+zW4FS7PaiUpx58SiqX87L7afLndLfx9CYoX3SuFqPmFXS4KvXDAbsfGh4WElXichpEjaiFtezYTcOEkGqCNxn09CaghmhlPi2YYM46gsPt7Iq8Cc9Wj8FR4Rrz/Y77gcH/uWINV65eVhsQ3o3TgwaAMRnsICVHAJa3f+FsKWeQDfvi3O3JgFZSJJkw5lHHIEL2SXDICZIfL7T05pmjnnPeIa4+0yNqEVYDsYt9xyRj/VFyAJVHBhZajYqUQy775wIavxh7eXF6wE7BPfq0aGSxdvpa1fHBFFDf63piovOvqhGJGY1AaEMDDbnORp3r12k/d+/FZnFGTQtq0clvn8simMw9hJGE7G6TSBsXghj4BIe9AMkm7rvkUe0XZRDfTy2LtUP7hFzxZAc7wntuJdbzDiMXts90xFL+IqFiqGKVH7wFUw6gqivFJGH47ZUTs3Y75L5qlQW2utVldQWQ/cK/SwqDClH8tLO9gE9/t12R26BzOyqamVn4bDBy1RPLn7Ll1JNCf3IxreOBCMX5xnm6TX+R9Nm+/vK7UVKaYXW5QILjOVjw7jM49bgurAMW7X903EqJO6/Nd9ZlX3gBQxMfzk124n76HAyjCYLt7vJ7sOhazog7Xy+VJuteuQDgXpecLOX2TQMt7XQt/kYAW67JNbsZkBdz4eGBki4JH3zE3QeQY3S5fGOeZAvclVDk9pDVzGOcTxMXIVvUJizMULEAJDNEoVyacN0Se8mJPx98MIJ5TuPaJIgEhcEOPlCcEth92IWf9jc3WSlD0NoHccj6aRfFiDhvLwoVWT7Rd 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:(13230016)(4636009)(136003)(39860400002)(346002)(396003)(376002)(40470700004)(36840700001)(46966006)(82310400005)(426003)(5660300002)(81166007)(8936002)(54906003)(70206006)(8676002)(86362001)(36860700001)(6666004)(4326008)(4744005)(110136005)(70586007)(356005)(41300700001)(316002)(40480700001)(2906002)(40460700003)(34020700004)(47076005)(7696005)(36756003)(26005)(2616005)(336012)(1076003)(82740400003)(186003)(83380400001)(478600001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2022 13:26:26.5395 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45566763-9762-4d9c-1cea-08da601c4b6f 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: CO1NAM11FT007.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4200 Cc: Sunil-kumar.Dommati@amd.com, open list , Basavaraj.Hiregoudar@amd.com, amadeuszx.slawinski@linux.intel.com, Liam Girdwood , Vijendar Mukunda , zhuning@everest-semi.com, Takashi Iwai X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Removed unused header file inclusion from Jadeite platform machine driver. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-es8336.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/amd/acp-es8336.c b/sound/soc/amd/acp-es8336.c index eec3d57092fa..8ce26c9b3ead 100644 --- a/sound/soc/amd/acp-es8336.c +++ b/sound/soc/amd/acp-es8336.c @@ -23,7 +23,6 @@ #include #include -#include "../codecs/es8316.h" #include "acp.h" #define DUAL_CHANNEL 2 From patchwork Thu Jul 7 13:26:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 588135 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DAA4C43334 for ; Thu, 7 Jul 2022 13:28:18 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 793891657; Thu, 7 Jul 2022 15:27:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 793891657 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657200496; bh=w7/uJ0QIgbm+hZ11a8fiew655ROUUXh0D4U2WIit0/s=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=pGcfxzf8RB+jH32d2x+q4LrzP0q/MaRZ/1eqjqnR1J53VrhTeIHgrCdZ/XZMKcP/0 vUroSBT6w82Sxc43FDjW+6IaxBTZfCosTvohFK0PlnWeZtnGoUsU1axHvOOJY6k6pc F2lz4EQD54emNGo6B1/ivKFH15Id0H8J155xWEYo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A7D80F8053C; Thu, 7 Jul 2022 15:26:56 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 90CFBF8052E; Thu, 7 Jul 2022 15:26:54 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2055.outbound.protection.outlook.com [40.107.94.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8A478F80538 for ; Thu, 7 Jul 2022 15:26:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8A478F80538 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="p3jK097w" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oCE5VVB+AG6QI9ZC8GeBB0lvRv8uk2GmHSxIx7/apYadEtWXdX5Hsjan8l+kchaNogbLdC1hsye9Isr0XkjljRPVqW20M5gUZluKiq+N6qP/wmS7KTRd3vxT7pYbpANVRYDbg3h2151u797ERUCu1VW3iJqA7Tood+2a05hnF/64h3aHyUT/WuF6Y6Gq3qTrEq39LvXjesWm6fvLDXQ/K41h1Ut3jcILtzLmiFWg/zjYRLg3dGT4nPOVA8e0xoHwW3NsXLgcluF2c8EkM/C84OmVyUKNn3UdCVCTJR2p0IXqibkRvrfRm9SRRHZGlgZmHf8QzPpmqXMGLrSFPwLxRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Fp5wlHeLmJA7UOeVUfZLyKrduF0hIe8TW3CsDq9fVZQ=; b=bgPV08eJvcTtBC9dWEbY7vnq5Tsd/NPT6nP1J/T4bf9gAu0rfa7S2K77kgatht/CvZbtO472A/NrogkH/1dKtFwZjgt6GwHzgmNKInCT3JTA2F6d8BntgdjnYuE1G4vTLqtEJOaNOe1pNYhyBvqlUu+eg+6u5ZweyHYMJ+AsHNc6VhHfjmdCiGV9w5rfwCZs746q0BgVSbzTxMeFSShSdpogRQeHQLDvmQZi8QCG0+fyS3QcOAfKS9UQcGqpS9CDxsTpBVaaLmIHiZP6OtRe4UjGI0bZLsHy1nVfNHTmp6HuZSh74piT9tw8hJ7W9D5wH2o+9j4Z0Gg/x9EGi/z++A== 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 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=Fp5wlHeLmJA7UOeVUfZLyKrduF0hIe8TW3CsDq9fVZQ=; b=p3jK097wMUFRhOy7XZrPv4oXU7K0fc4dO1lRdy0yUm4pkJW9zY/UUO0Zppjb8ie9FknAZ2eG5cmHMo+16vlUzZjRMFm7ayu+h56bLIPxC8HUMRzl9vOzjBG4Tfkt/ePdgcJnwBRGb+IpJ2m86urD0ECSg7fzwwhoYoq94qOkAFc= Received: from MW4PR03CA0100.namprd03.prod.outlook.com (2603:10b6:303:b7::15) by DM4PR12MB6662.namprd12.prod.outlook.com (2603:10b6:8:bb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Thu, 7 Jul 2022 13:26:41 +0000 Received: from CO1NAM11FT006.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b7:cafe::1a) by MW4PR03CA0100.outlook.office365.com (2603:10b6:303:b7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.20 via Frontend Transport; Thu, 7 Jul 2022 13:26: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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1NAM11FT006.mail.protection.outlook.com (10.13.174.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Thu, 7 Jul 2022 13:26:40 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 7 Jul 2022 08:26:39 -0500 Received: from vijendar-X570-GAMING-X.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Thu, 7 Jul 2022 08:26:35 -0500 From: Vijendar Mukunda To: , Subject: [PATCH 3/3] ASoC: amd: fix for variable set but not used warning Date: Thu, 7 Jul 2022 18:56:10 +0530 Message-ID: <20220707132613.3150931-3-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220707132613.3150931-1-Vijendar.Mukunda@amd.com> References: <20220707132613.3150931-1-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 98748ead-7e16-4f9f-fc45-08da601c5403 X-MS-TrafficTypeDiagnostic: DM4PR12MB6662:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nwTXFLZGyhXy3Po6Pha93q9xAoW1+dI0IyqMITnTmtrseT1LTVTAcgZZTUMJlslbV8OmGiDwoe7laNhxGnd1HJxZ1kwLHf3/SZSJrIc+L1sxEpCZsAZ1DBd5KRRIibPpyP/okl/uRWHjNlqPAlMwP9BdKqbA3wfrftywf9iJMrRcP/Pw921SyzkonVyN1PXRpsYO7O+0Rzv+GfSLwICIQ/rGFSyc7hRlx8ev/14cR11YmVhA/NvcpcY34lOlkvCMut5uMlsFVlKnvkPR36OQjttsdZHdciytfOVk1ZsYONy5X2Nf7dbEFj41FBAiXrmVnJz1cWod11wu/NHxKtkv3kFlw63BAB4UPkV4aQOgztkQeGuMSTjWZqJG2/ZsUpsXSHp7/jkfZXkf5mR0hXOhgoomcxOh0h2fk5ByUlHfjZRZrfVpYJS0NVOXTRyQ9XfTrLy16+SgDwHZqg2DQuMdMZUMQmX+JPl5BuWniZ5ck+qkj4owG67QonoyovLZjO8LfSpMkQhTepeRxhXznpDUb6+0gon0nn3ZOzWEVX+4Po3ZvErP7W61K4qn1c4Y3KcEVw6TG5WOhlI2HETW1dIG5RyM6jrqHYcJewPbmfFEjL5L9L1ZxzVqk7lY6H7FQPM/dpYOAsAvYdu6rDNB+uGSySwBOZyMN6NUnAgxb2AqfKSj4tBbjGnzzUoYujDQn3TY3PML1ByPXFOo0OeQJ/mr26lC1YQeLkSYdgj+Gwmla2cs+OACpaVni3H13EpA4U1z/tpvbZinxzq6NcpIgcysF5QTBrirpcBmTmmxL3QAEaP/+xBtYuyhPcHeTlM0dPZ/1SEx4djcx10YGPbegK/XiBb3zO97yi461tBaWvgDx84hxRCzEJw8KkmkzYBXgDMO X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(396003)(39860400002)(346002)(376002)(136003)(46966006)(36840700001)(40470700004)(5660300002)(47076005)(82740400003)(356005)(110136005)(54906003)(40460700003)(4326008)(70586007)(1076003)(70206006)(8676002)(2616005)(81166007)(8936002)(83380400001)(186003)(336012)(426003)(478600001)(36860700001)(316002)(7696005)(86362001)(40480700001)(6666004)(34020700004)(82310400005)(41300700001)(26005)(36756003)(2906002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2022 13:26:40.9369 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 98748ead-7e16-4f9f-fc45-08da601c5403 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT006.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6662 Cc: Sunil-kumar.Dommati@amd.com, kernel test robot , open list , Basavaraj.Hiregoudar@amd.com, amadeuszx.slawinski@linux.intel.com, Liam Girdwood , Vijendar Mukunda , zhuning@everest-semi.com, Takashi Iwai X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Fix below kernel warning. >>> sound/soc/amd/acp-es8336.c:200:13: warning: variable 'ret' set but >>> not used [-Wunused-but-set-variable] Signed-off-by: Vijendar Mukunda Reported-by: kernel test robot --- sound/soc/amd/acp-es8336.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/amd/acp-es8336.c b/sound/soc/amd/acp-es8336.c index 90f4e5809c72..e1479ae684e9 100644 --- a/sound/soc/amd/acp-es8336.c +++ b/sound/soc/amd/acp-es8336.c @@ -206,6 +206,8 @@ static int st_es8336_late_probe(struct snd_soc_card *card) dev_err(card->dev, "can not find codec dev\n"); ret = devm_acpi_dev_add_driver_gpios(codec_dev, acpi_es8336_gpios); + if (ret) + dev_warn(card->dev, "Failed to add driver gpios\n"); gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW); if (IS_ERR(gpio_pa)) { @@ -213,6 +215,7 @@ static int st_es8336_late_probe(struct snd_soc_card *card) "could not get pa-enable GPIO\n"); gpiod_put(gpio_pa); put_device(codec_dev); + return ret; } return 0; }