Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp478042pxm; Wed, 23 Feb 2022 04:48:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwo3zasMQArbnhZ3oOx//1D95VZda9qDyV45/KRjvXyfYea3ZqmHRYISehopRXowbse9E6R X-Received: by 2002:a05:6402:524a:b0:410:f090:6388 with SMTP id t10-20020a056402524a00b00410f0906388mr30391220edd.26.1645620483768; Wed, 23 Feb 2022 04:48:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645620483; cv=pass; d=google.com; s=arc-20160816; b=xFxA7fHhRGVq4Ba64q3XZgQoMn30r0oieQ5tIR1/JANbLfFQnpgK10B34bt0zMUpgl Rq/Ej33Kq4oeOkKHmEEHDkNmaca7TMPBd8djmtsnp+TRq4yxfRo34sw8tTbQrfaa8pVA ucx1pMAnVaiA8q2lgHv7AN0hqHsPLpNIK8/glIl9/doZe7364pOyCfiZR/IfvbfUekeY Zck2EnbyBjEPS9e8v32EG9caPo4nxytO0rgBlwjAyefOHHu3486Re6Ls1ms7GjAxL6uN nk7P4BqJB15vgi2FQ5WggdzEfu1J8DAiU/vnf7BeKdyxn0AU1OlhDH6yrXgpGoruFTdo QHpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OLUY6DlGAwjdwdzQLNA/gt8yUAg6SwxroiCRgpkoduo=; b=mFeAy884rPD1thBEmqZcGiUHkhrpV6Z1TOoZXu/pFJ9OnumgbonBpCZD5FAZyP2Wy7 XLqvO3Zr/2laDq1smJZt2xBMMPWdBQQGOOY0/dGGgZ9ckSS71tBr9EDjnzYbSI8xlyi3 k3qdcFnRXVNCYE0bTuadhxGBn/ZGlFjY7x+O/7x+jCilw9Rf3uazN1VKVbHnjJ7fFiYH 0P/YeHW4irYOfNckqdSt0UATxrZEGJKuaWohEWH4vZyIuVNf9ppJL6fHnXzN5f9sJYrH 7jRrBxAx7AXbd1y0HK/Dcjb2Ep1nG/aXNkSXVkqqvS0N+77JEyMCVogxwOh8CIFbaDNy 5zyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=g1q+mkG2; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp32si1591537ejc.596.2022.02.23.04.47.40; Wed, 23 Feb 2022 04:48:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=g1q+mkG2; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238695AbiBWHZt (ORCPT + 99 others); Wed, 23 Feb 2022 02:25:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238684AbiBWHZi (ORCPT ); Wed, 23 Feb 2022 02:25:38 -0500 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2074.outbound.protection.outlook.com [40.107.102.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C3186FA13 for ; Tue, 22 Feb 2022 23:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YJhxiOo62KmR2uE6Mzz97yYQ+gn8+lyHcjpjRfqnnDd+X+Ob4r2bpjWrhuzbd8lJ4xpqcda6tR/AQ4FWZHIximGe5N1e5zD7DbjghdaYxWpOYpdI8qOQYqYnw9kNGzPM3+M2W7kpbZE/hnwb+uLhVAUDDCXSAhlK3/vKE4MuLvjWdLi1dBBHkmUqaJSR72CqvlYX3uE3Pb1O10Vcqk4FXG45Io5EMnT5N0zsK5urdirD96eCC+wE9Ai7OypKEFJKagiVfDyX+0GI6tiJbuiSY2EspUihrkBU4Z2g8IdCfiNmnKwPEdkSB6eXeW1eK1lWd8y/cYFeSKWM0vQe1go9Tg== 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=OLUY6DlGAwjdwdzQLNA/gt8yUAg6SwxroiCRgpkoduo=; b=adskn2u6t9d5i0o7ywVkyUkFNl0mVgaIJeLPmodlzt6HQ6S9K0Yb79qKVfExU5xOMxdx+6dN91efxQ1egy2DIzXLmKSxJ0PAds/6sZGvNXISdwo+xHAZEZggLy4pg/liYymg0xYzn5i3CXFFiaQ7Kd3Sqy24mt90Vl1fxJkO7ylqxs6pd6JIz9WzSGJCldiCvkwdxxv2HUAe/xZiLbjYMCnZgmUA4WhLrpeUY/1fz2vqDSh7anCre+YUHYFR4hfvIho5PVeJJ1QzkzwLoN3dtDiru0nQmUlniFaRjXLOf8RielMgNizyFnYRucfAmBodp2u7ewnNbd/4fb4ty3mAvw== 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=OLUY6DlGAwjdwdzQLNA/gt8yUAg6SwxroiCRgpkoduo=; b=g1q+mkG2kW6chSdzDahgsrVQ1R46Dq24YH0nx3yAQMRCerZPbc6RRq6rA/uL7/fCOQ6LwzjC0D/Ug37MP+ZKxSp4Z11yIXxmjRw2f/J6ihbyODNYeFdYlu4FdMxoxyAVTR4FmI8YIUElbymxBWiv0Gkg3DKounUoK9XU5Uz66Kw= Received: from CO2PR04CA0182.namprd04.prod.outlook.com (2603:10b6:104:5::12) by BN9PR12MB5067.namprd12.prod.outlook.com (2603:10b6:408:134::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Wed, 23 Feb 2022 07:25:09 +0000 Received: from CO1NAM11FT052.eop-nam11.prod.protection.outlook.com (2603:10b6:104:5:cafe::61) by CO2PR04CA0182.outlook.office365.com (2603:10b6:104:5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.23 via Frontend Transport; Wed, 23 Feb 2022 07:25:08 +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; Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT052.mail.protection.outlook.com (10.13.174.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5017.22 via Frontend Transport; Wed, 23 Feb 2022 07:25:08 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.18; Wed, 23 Feb 2022 01:25:04 -0600 Received: from LinuxHost.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.18 via Frontend Transport; Wed, 23 Feb 2022 01:25:01 -0600 From: Vijendar Mukunda To: , CC: , , , , Vijendar Mukunda , Liam Girdwood , "Jaroslav Kysela" , Takashi Iwai , open list Subject: [PATCH 8/9] ASoC: amd: vg: remove warnings and erros pointed out by checkpatch pl Date: Wed, 23 Feb 2022 12:49:37 +0530 Message-ID: <20220223071959.13539-8-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220223071959.13539-1-Vijendar.Mukunda@amd.com> References: <20220223071959.13539-1-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9c110a07-c675-4d91-a4f3-08d9f69d9ec5 X-MS-TrafficTypeDiagnostic: BN9PR12MB5067:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l6zeDD2C3xVQkqIWcZcgtZOT7I8w8ZX0KZE9opm/0rbtwXiggH04Dlpbr9uiYUATH1iHyGAlKfA08FXnu3iBeD7JhodJxYe7DDQ0aWJNb7GFwhiwo5yQgAoUJFfl8CVN+qORwgfE3uKX6DVBfGj6hD80nPoFsp4Zr3bikXmeCk3kw1SYyADW7Mc1YvEaCW7WpzGt6ezAC52zUYjktgzwEbDQYO6UOmKmGcaArJ8VXGJgprC2X7/TBWpPN1n6TjAxbO6XE8e6F7pe5it6SSvPHXF9tgyYQJYidkNVE0rEq1Z4pKlD8zvOXT0NgUIgfCj2XKPpMyCLDxazWKui77lXb6XdvV3ZQFUllXAJnzy0FY2ZoG4avnSifFYz2U8Hf1k7c/M+GKPPTfJSAWwJTGGLYajd/4ey4jg5O1u4YO9Vz7FQWGZEvPJRYyadlFVk3Gk34hSZIBnSskqxDRb50HGYZe29xXhpa+rqm9LL7fpU0mdHQYbAEjx7IIKBSPzUHKxdixWBhmBhe560COneddWEtVyhznEW5Fv8nC2gtxH7myhK1gi8TKnJqxViPhfXBruGcSQZ1C+eU2Wf3ixTEzUqyuRFvrg6wON0eSV/hJ/khglz4usbWeX2pafQh/X9qrY2/TqTKqNrpHHRwYEY3kyRuRm+haA7p5yDzI50rrxRyMNpUKJYTjsudJJuzRW5jTe7hFBGgdAO6GIuBqIkebwZgQ== 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:(13230001)(4636009)(46966006)(36840700001)(40470700004)(186003)(26005)(36860700001)(70586007)(2616005)(70206006)(7696005)(82310400004)(6666004)(86362001)(54906003)(8676002)(508600001)(110136005)(316002)(1076003)(356005)(81166007)(336012)(83380400001)(426003)(4326008)(47076005)(5660300002)(40460700003)(2906002)(8936002)(36756003)(4744005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2022 07:25:08.1968 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9c110a07-c675-4d91-a4f3-08d9f69d9ec5 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: CO1NAM11FT052.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5067 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch pl errors and warnings in vangogh machine driver. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/vangogh/acp5x-mach.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c index 287efd9282db..c574e80907f0 100644 --- a/sound/soc/amd/vangogh/acp5x-mach.c +++ b/sound/soc/amd/vangogh/acp5x-mach.c @@ -341,7 +341,6 @@ static struct snd_soc_card acp5x_card = { .num_controls = ARRAY_SIZE(acp5x_8821_controls), }; - static int acp5x_vg_quirk_cb(const struct dmi_system_id *id) { acp5x_machine_id = VG_JUPITER; @@ -371,7 +370,7 @@ static int acp5x_probe(struct platform_device *pdev) return -ENOMEM; dmi_check_system(acp5x_vg_quirk_table); - switch(acp5x_machine_id) { + switch (acp5x_machine_id) { case VG_JUPITER: card = &acp5x_card; acp5x_card.dev = &pdev->dev; -- 2.17.1