From patchwork Wed Aug 23 11:24:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 110738 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3980565qge; Wed, 23 Aug 2017 04:25:31 -0700 (PDT) X-Received: by 10.28.128.205 with SMTP id b196mr1464486wmd.128.1503487531583; Wed, 23 Aug 2017 04:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503487531; cv=none; d=google.com; s=arc-20160816; b=CigFl/hJj4j57kEN8Tf48VFxj/Qxdw3cZunePLJN0UJ0Z7X75EUKZ3yy2wozQ9o/FO gocF9H4TA6UfPjjCDss1ES50v1QF15Yj7JJBzjd7GJU+/j2I2Z85UrvvLre+p9jh+gAt 1aHYTyoKVBRJMfZ30wmRhORugeykOWQW3jxCMu1CHRWfgHl4bitIyyH9Yy+XGXJrqQsx 2HlhTl/2rX9IfUMkq1Ix4utoKdWMn6hfpBE1cj9yRQ88O9LRtFSnbFrXe0w/T+Fnp42W BcTefZytf6vTHk6ks/OGJJnps5mlNv9JTKG6GvfuUqwovBkp9yT13H+DRPJEoHWszfZs xh2w== 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=eccvNwS0GImdj14s0NJf4S2nSVjVO5beNOQxb/+p2Qc=; b=08POeRD6GMWnxzinDqNpu3jACf7f3E09q5grpd5ZZxr3Exx1rgYo8zpR7lI2johXs/ yhgtNr2L8ri1MEvweQKzKd5KjZ7DDK8Paj+g6mJspC6GVLX6dP78Qc2SzfKk+dr/y5op m19ANQbK6RRqMzsczW39pJntTuLctA8Z5u5GbK+dvQMasZEQUbKbbMyLjAgWFevmYj4f xLt/WSRxIDgxMud14aKKgM0s9sAlR05FLmYIhlwoD8h8YpvDTd7wAcOjhOab2Hbk6rRc 4c6DqeX0Cvb2gbQRHVgkDV/zHq2c/MhELSWpvgOmGRtPhQswW/yhbt999TLvdFjfRzXo 5lYg== 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=ZE6GuH3e; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id p31si1192930wrb.406.2017.08.23.04.25.31; Wed, 23 Aug 2017 04:25:31 -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=ZE6GuH3e; 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 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E1CEF26727C; Wed, 23 Aug 2017 13:24:48 +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 09A2626725C; Wed, 23 Aug 2017 13:24:47 +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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RP_MATCHES_RCVD, SPF_PASS, URIBL_BLOCKED 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 BAA9B267247 for ; Wed, 23 Aug 2017 13:24:43 +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=rVlzOT/YtB5COvaaEc4FvPaDOP2V5swE5iZsLwAmqzo=; b=ZE6GuH3eP0Hl RVY4TcrCyGbzYiSFNW3jgPOpasRZHnPw6q1hA9pJz2IizaN9Nir+YPBb9RCBzr73N5PS5kQIwYCiY vMERC3ocmF5psxNOaqaLW+xMw1h2nOSNYCyIUsgfC3O2fIumnWtxPIqrz8jo8l09coSZo41IjnOWb bzrfM=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dkTm0-0005pQ-9j; Wed, 23 Aug 2017 11:24:36 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dkTlz-00078Q-T2; Wed, 23 Aug 2017 12:24:35 +0100 From: Mark Brown To: Subhransu S. Prusty In-Reply-To: <1503400553-15377-4-git-send-email-subhransu.s.prusty@intel.com> Message-Id: Date: Wed, 23 Aug 2017 12:24:35 +0100 Cc: alsa-devel@alsa-project.org, tiwai@suse.de, lgirdwood@gmail.com, patches.audio@intel.com, broonie@kernel.org, "Subhransu S. Prusty" Subject: [alsa-devel] Applied "ASoC: Intel: Skylake: Fix to free correct dev id in free_irq" 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: Intel: Skylake: Fix to free correct dev id in free_irq has been applied to the asoc tree at git://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 c360e0c3ab8ef8d0fd6b5501a407b9a2be4f204d Mon Sep 17 00:00:00 2001 From: "Subhransu S. Prusty" Date: Tue, 22 Aug 2017 16:45:52 +0530 Subject: [PATCH] ASoC: Intel: Skylake: Fix to free correct dev id in free_irq The dev_id passed by the driver in request_threaded_irq is an ebus pointer, whereas to free_irq it is hdac_bus. Fix by passing correct dev_id to free_irq. Signed-off-by: Subhransu S. Prusty Acked-By: Vinod Koul Signed-off-by: Mark Brown --- sound/soc/intel/skylake/skl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index e612a4097275..d62ffbc93d54 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -415,7 +415,7 @@ static int skl_free(struct hdac_ext_bus *ebus) snd_hdac_ext_stop_streams(ebus); if (bus->irq >= 0) - free_irq(bus->irq, (void *)bus); + free_irq(bus->irq, (void *)ebus); snd_hdac_bus_free_stream_pages(bus); snd_hdac_stream_free_all(ebus); snd_hdac_link_free_all(ebus);