From patchwork Tue Jun 26 15:12:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 139998 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5364348lji; Tue, 26 Jun 2018 08:12:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc73kMgrq8OME1peRvnUqI0jYAwgmq4eJUdSf8qd/LgLAnI2nIBUuTzCrfJF0ZqeJKbpqPr X-Received: by 2002:a1c:7fc1:: with SMTP id a184-v6mr1436126wmd.161.1530025959842; Tue, 26 Jun 2018 08:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530025959; cv=none; d=google.com; s=arc-20160816; b=WDiWRtJisCNlCY0E7ZiHuWBBAlaGH166y+RGvbsRljd3PAs2+BOx2h+TF5Z3mKh3OO 7Ck1/myfqpHojkbCQVCyNTwE+yzTk7HH0p8O67zf63yLzLN/wvUOMoWfTu/H0vrR2aKS WqrZ73urHZ0rcd5e6VYyMH+MsluW6xR14ezTExvi5WA4eQEtVQYZZyGpwxbrS8HCuGzR FUULvC+qhxprRC9Sn7K2pQWiN9r5SQXQeXApFkfPZqaSADnQXabx8WcvpcrI5rT6T4Dv RAaEqWnZ8qkN1X6ltkXChZuz0LM+HsafvTBnxXkPlK7rpy/egzCkAWaK7OaXzMLfcyFn Mdew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=ipBJevnTXM7x8tNLedT55kVE8JthoTbAxGge5fKYh2w=; b=K3uHttwlBD5yJ8QNX5mcs7lkR8fy9sJsuOKHXGAxtC/wAiocN2fTsI/Um1/V5Ax6sd H4qS6HTSGqJPaL7qAsxo0ezCbGHsdZrH+LLasivzQwro0IBBEe5n6Z3XwyPItv8qXYaQ PymGVRtpIS2V93KD3Co5D7bTNm2hRS3MXePNOl7qNJBTAZNluzBFZnwwSebNhRucVz9M qsoFUjFnr5XThFzDqWwcX9p8l6mdk4HMN1WDYnBEYtcRUqeUle776x9rqyMKdR7hn99a JrbeZEW8XxMesHS9FJp7IDZA9nIeq0+/vRX2fteRhgv/I6YVFntZ9/5zhPxWFgVuytRP 9xHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=n5UxBDJB; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 63-v6si1896597wrd.88.2018.06.26.08.12.39; Tue, 26 Jun 2018 08:12:39 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=n5UxBDJB; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B76F526792F; Tue, 26 Jun 2018 17:12:09 +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 22865267931; Tue, 26 Jun 2018 17:12:08 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 683EF267904 for ; Tue, 26 Jun 2018 17:12:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=wvl+lTFugaOrW7BzZ9qIUxQdQEBrWw9SJXgFblTxm1g=; b=n5UxBDJBL8a+ OEc3KBamb4z000L183V20F66QfE7sjMmZbbPII1MJ6HZi3t54QYWsqgbNKFHUFlLqb9xg3neVBN9T mUeDITJzEMtr8s5nskGbKlza8zKT1J7Df7r6zACz3syQlyagHFIPYWVcyY34h3h4rU0L6MpaoB+cK qyKGk=; Received: from host109-146-194-33.range109-146.btcentralplus.com ([109.146.194.33] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXpdV-0001Ld-Mk; Tue, 26 Jun 2018 15:12:05 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 39553440070; Tue, 26 Jun 2018 16:12:05 +0100 (BST) From: Mark Brown To: Fabio Estevam In-Reply-To: <1530014315-17674-1-git-send-email-festevam@gmail.com> Message-Id: <20180626151205.39553440070@finisterre.ee.mobilebroadband> Date: Tue, 26 Jun 2018 16:12:05 +0100 (BST) Cc: alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com, tiwai@suse.com Subject: [alsa-devel] Applied "ASoC: soc-utils: Fix unregistration order" to the asoc tree 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: soc-utils: Fix unregistration order has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From b66c9b911fe6ca188002b342b05c43deab4491a3 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Tue, 26 Jun 2018 08:58:35 -0300 Subject: [PATCH] ASoC: soc-utils: Fix unregistration order The unregistration should happen in the opposite order of the registration, so change it accordingly. No real issue has been noticed, but it is good practice to keep the correct unregistration order. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- sound/soc/soc-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index 2d9e98bd1530..a863bb3f66c2 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c @@ -381,6 +381,6 @@ int __init snd_soc_util_init(void) void __exit snd_soc_util_exit(void) { - platform_device_unregister(soc_dummy_dev); platform_driver_unregister(&soc_dummy_driver); + platform_device_unregister(soc_dummy_dev); }