From patchwork Tue May 1 20:50:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 10374449 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3558B60234 for ; Tue, 1 May 2018 20:54:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24FFF28CD8 for ; Tue, 1 May 2018 20:54:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1912B28CE3; Tue, 1 May 2018 20:54:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EBE828CD8 for ; Tue, 1 May 2018 20:54:49 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E23962673A6; Tue, 1 May 2018 22:54:47 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5975926765C; Tue, 1 May 2018 22:54:46 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0070.outbound.protection.outlook.com [104.47.36.70]) by alsa0.perex.cz (Postfix) with ESMTP id 9D8B6266F44 for ; Tue, 1 May 2018 22:54:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LoTc07lBBddnPXQVxeYScg9eKjg16A/c+WeMTVnzDCc=; b=rYtIu5NnM3dBYc9+4TBm79y9sVyHH2ZaVva4AHHeNJPsRVecXXBm9vyOwmTqDVu3TAJChg+ON0YtZcNR7IA5oL3UCs4hOX3+M0EonoeZGAzR9XeEqA2ZX1JWZBDUQ07NPcKZxvxAB0+Och+7hWwHuGoKYcNeOpxRdiq8sKVKOR0= Received: from DM5PR12CA0012.namprd12.prod.outlook.com (2603:10b6:4:1::22) by CY1PR12MB0327.namprd12.prod.outlook.com (2a01:111:e400:50fa::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Tue, 1 May 2018 20:52:34 +0000 Received: from CO1NAM03FT025.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::208) by DM5PR12CA0012.outlook.office365.com (2603:10b6:4:1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.715.20 via Frontend Transport; Tue, 1 May 2018 20:52:33 +0000 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV02.amd.com (165.204.84.17) by CO1NAM03FT025.mail.protection.outlook.com (10.152.80.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.13 via Frontend Transport; Tue, 1 May 2018 20:52:32 +0000 Received: from LinuxHost.amd.com (10.34.1.3) by SATLEXCHOV02.amd.com (10.181.40.72) with Microsoft SMTP Server id 14.3.382.0; Tue, 1 May 2018 15:51:56 -0500 From: Vijendar Mukunda To: Date: Wed, 2 May 2018 02:20:03 +0530 Message-ID: <1525207810-1305-9-git-send-email-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525207810-1305-1-git-send-email-Vijendar.Mukunda@amd.com> References: <1525207810-1305-1-git-send-email-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(2980300002)(428003)(199004)(189003)(68736007)(186003)(6346003)(126002)(2616005)(81166006)(476003)(7696005)(50466002)(51416003)(50226002)(76176011)(356003)(109986005)(336012)(1671002)(8936002)(81156014)(39060400002)(77096007)(446003)(498600001)(426003)(53936002)(11346002)(36756003)(486006)(86362001)(72206003)(4326008)(16586007)(105586002)(53416004)(5660300001)(26005)(106466001)(47776003)(104016004)(8676002)(6666003)(48376002)(97736004)(2906002)(305945005)(54906003)(266003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR12MB0327; H:SATLEXCHOV02.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM03FT025; 1:gYiR32fnHDOaWoq/+KanaB+Qs/GKwKTC6+MWUKgO6f1V6loUO1vG8HFbnsUe9nQIgFHnQdXng+iWGP2ZwSTYKf4oBAONWMvqToy/p6Lyn5pjlkQCan0KXvlAkLDs1LmA X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:CY1PR12MB0327; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0327; 3:86BXG4cjVoaqi+e+H5e/De+ob56nEDAQTGMkGveESu3k1vzc88nyyFpz5qmyRW7JfuptoQeqOuTQEqqcYsckl/8y+BCcpxWG3g2gKe67bmXANwu3AL9IXl9fAzsggElHTsTxHhiESdt7nRW/uAZUjO3Y730WEskcq/n/crf9qhO7F6fIe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MvY0D6myG/4G6A9apcwyn8Gg5MNeKwy3BSyghZOQqg4cN1M99L5mNcvvfs6V2jguZni46Dz7pFbGJkC2PuTeQHDqBUb8DESYRlHkba12WF20Df0aQVrAD1kYbT4ZuNDkB1wfrvqvoYyLqBtsNtRsrh3jSo3gA9oqPTijhrYdbE3q3Ub1JxL1+CXH20Xy77pr4WxpN7IqwW2GDq95Cdy0ulEsDdbXeu1xSl7/OVY3xaHy3PinFfJGouaAi64FMLy8qh4zAXfmGyZEjDpA1ogwhL4tMmQLQCB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(10201501046)(93006095)(93003095)(3002001)(6055026)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201703061421075)(201703161042150)(6042181)(6072148)(201708071742011); SRVR:CY1PR12MB0327; BCL:0; PCL:0; RULEID:; SRVR:CY1PR12MB0327; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0327; 4:Is6JETga0pfMRGZ1y02lAra/z46yJ+H99qufdBDGer28JokYfFQmdZ8clWAhpHv7hkvjIr5RIm7uwSVSgK2Tu6nMW5QZ7JFRibK3Ysk3nRd+2ChSdh0EsO9Cl4yh0KNDnBhFCizjCOqRDfv/Tab4owGaSNlZltzrlmy0/8tIWi0LhB46Hxm4eLACWZq4rsZiHFMuC2ogQu6l6LsDCEQAX541uxPz4bguanje9XFKRYUFPGUSRvOZVpDpLBuRH4a5hNx1/y63cwuqOwuj1T9ZehC1tNMGZWxGH/5/OaQ1/wor0zVSeUcXlPnAWWx3o2KL X-Forefront-PRVS: 06592CCE58 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR12MB0327; 23:27sKAzJsXsWokwU5iCGJJAcSFTIEuFf0XA5oh8HSt?= =?us-ascii?Q?nE9FdB2JyF2Ln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0kHkMXoFZhVSf308RPrbg52lFMuWmMRzp420h8kTSRsPuUpBa5KMmlDnp1hIjj8S1PW7KWWV7btcLS1I=; 24:+9wPnCq9w6WQLoeSAy2EGxhgDpVPgXJ7CX/gjIZf1IZUioVP10A3R9unoWna2MBdTs+Nw+MzZGXQMhmQNSeHBUOhtYGyLH5LsArcuWBQmmE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0327; 7:bsDR6AzWwVDxOU4pCDSU3kiR6OA1yXc8SfRbROU+vkTUDUbmFPEUpZtgY9hpCCptk762DtsELYkFVeMR5JYmf/tz1UGImhomsIzvV5185Zo2IOSKLzPQaFt1BTDw93GlqUoqp1njHzYXeT3glX/DStmKAq7uflbE5+iFBX3Dbv38TVVD6n0ldIHDhetIJ9Mo54RksEIEGk/LjwQllBQebflJDPJb5w3f4rpzk/2F5IPlroTU/YbHJnSLxvf6bUzP; 20:iOtOTfsBPTMGxWTCuDUrGRoMD8Xee4ORT4knHqkA9iozihdsevI9EAWqvG1UvvRUzI/SgZJ/PpcM3cFmWpwcE8/lF5oRkyfOB2QdZZ7PJ+8OTiFm8sz0NWoQ/QtUzmVxMT4mhw7bIjWlMOqisdePAJy/XXg0jCWpXHiNE54QJ7atwtAZI0xo4rKxBMULll+b8K7xbQWGxz0a86fEyG2ZTR1UokiFRqDmk/ac2Yr5agPGEiBBY/P+xB39lXepaOAc X-MS-Office365-Filtering-Correlation-Id: 206a8b94-20d5-4237-b137-08d5afa57661 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2018 20:52:32.9152 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 206a8b94-20d5-4237-b137-08d5afa57661 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=[SATLEXCHOV02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0327 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Kuninori Morimoto , Liam Girdwood , open list , Takashi Iwai , Daniel Kurtz , Mark Brown , Wei Yongjun , Vijendar Mukunda , Alex Deucher , "Agrawal, Akshu" Subject: [alsa-devel] [PATCH 09/10] ASoC: AMD: Add const to snd_soc_ops instances X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Akshu Agrawal Marking snd_soc_ops instances const Signed-off-by: Akshu Agrawal Signed-off-by: Vijendar Mukunda Reviewed-by: Daniel Kurtz --- sound/soc/amd/acp-da7219-max98357a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index fa5ad5b..133139d 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -171,17 +171,17 @@ static void cz_dmic_shutdown(struct snd_pcm_substream *substream) da7219_clk_disable(); } -static struct snd_soc_ops cz_da7219_cap_ops = { +static const struct snd_soc_ops cz_da7219_cap_ops = { .startup = cz_da7219_startup, .shutdown = cz_da7219_shutdown, }; -static struct snd_soc_ops cz_max_play_ops = { +static const struct snd_soc_ops cz_max_play_ops = { .startup = cz_max_startup, .shutdown = cz_max_shutdown, }; -static struct snd_soc_ops cz_dmic_cap_ops = { +static const struct snd_soc_ops cz_dmic_cap_ops = { .startup = cz_dmic_startup, .shutdown = cz_dmic_shutdown, };