From patchwork Thu Jul 26 15:02:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 142979 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp565689ljj; Thu, 26 Jul 2018 08:02:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc6pRjvgDvKwBf//ta3dUSJepa9fFUnc9LqQHuW/ZOaf3jrc9fXjB1t2G1LF+7cZct+uxwt X-Received: by 2002:a5d:67c6:: with SMTP id n6-v6mr1870176wrw.39.1532617330745; Thu, 26 Jul 2018 08:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532617330; cv=none; d=google.com; s=arc-20160816; b=n+LzmZmcPbPedSC+4rBfeyyJyNOl4z8LdZcJZoICpMOdiNG6ERO4Rw9PmOcj2RbhHL YhJYxLbsLFV7QQ+fu6iZa0+3TfCFrm1XVh6KhnY2MuxoT8Yti9xPfvzYVO70xXXoXD+k enHr6IDnO9J2QHn82IIsTNs91KCLyx/ATb9313HooIdHBl7TGg/31PUQNmbUzzCWfsIS hzQOtxqUFYmJc+6dsCRjLxke9+6699JlsCjze89ncdkd6xriVhvpXJwgO8aDUENJVs/u +zR5Fvj25RyAaWKKnV4MAmaJcEvNOIZF3ekVaHBmIDhmpIYLk+1Made6UWkSSc3jqrff 1oaQ== 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=Fi17KolLFbfsjbSPx8hCzghpuQ0/9sqUQzoZMMzyyVE=; b=dR07j3AR/Koeb2BgoXMwmZnT79ivwpdXbu8++IzChlCjdWB/EoIU9TqcJBr9gyJ8C2 PFNrXcct4S9+IVl6z3hPLEQ5d/ebcrMjLXEUpYmfUodTMELYEsB2meFqq7ecjqxXaMw9 WEYD+mYx9dwp6a4MGwVn+7xG3VS9DVoDPkyhcF7gQDuwEf306+zEQuC7oij0bAaJ3BOK n7x5c6X0ylvlB7IMLo+Yz64VxxMUCoopVOyfdpIzdkb9BXPmGKCIjCJ/XAalMZzpgw0L 2VpCa1kLlUy5Mekm6kv1tjLDNBJGfjT8xI+SVJJCRY5X9snE66fusI5qwuMOs1uFH8da 3ERA== 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=cStqWS5G; 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 p16-v6si1282567wrc.51.2018.07.26.08.02.10; Thu, 26 Jul 2018 08:02:10 -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=cStqWS5G; 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 241A52677AA; Thu, 26 Jul 2018 17:02:07 +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 8F6652677A3; Thu, 26 Jul 2018 17:02:04 +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 50C1226739D for ; Thu, 26 Jul 2018 17:02:02 +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=2C2gQcHN3fOS06C1IC7Cl91FW77bHaXxMSG/9RBbuhY=; b=cStqWS5GRLTt 46NVSSkuViEfJIhZZyHLjstuhk1AJ/1GhQktTLUvg5mYt2piJ/4eF/Q/dL16OsM9IhUr1YtOfP4Gh 5W09e8jAUPKrrmnFVUm//9negvXvj9I/UHNiLvNhAWtBEgW0DBwyoCspHpWhq8aduwCpBpKEkNNby V6Sq8=; Received: from [2a00:23c4:5d8e:0:97c8:1971:bc17:6a1a] (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 1fihmE-0007gz-1o; Thu, 26 Jul 2018 15:02:02 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 7CC5C440078; Thu, 26 Jul 2018 16:02:01 +0100 (BST) From: Mark Brown To: Jerome Brunet In-Reply-To: <20180726124544.14740-2-jbrunet@baylibre.com> Message-Id: <20180726150201.7CC5C440078@finisterre.ee.mobilebroadband> Date: Thu, 26 Jul 2018 16:02:01 +0100 (BST) Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Rob Herring , Kevin Hilman , Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , Carlo Caione , linux-amlogic@lists.infradead.org Subject: [alsa-devel] Applied "ASoC: meson: use IRQ_RETVAL in the fifo irq handler" 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: meson: use IRQ_RETVAL in the fifo irq handler 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 036e4963bfb2d4513c30efd80e4bd50ff6c79e3e Mon Sep 17 00:00:00 2001 From: Jerome Brunet Date: Thu, 26 Jul 2018 14:45:42 +0200 Subject: [PATCH] ASoC: meson: use IRQ_RETVAL in the fifo irq handler Use IRQ_RETVAL instead of the open coded ternary operation. Suggested-by: Takashi Iwai Signed-off-by: Jerome Brunet Signed-off-by: Mark Brown --- sound/soc/meson/axg-fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/meson/axg-fifo.c b/sound/soc/meson/axg-fifo.c index db367d85290f..30262550e37b 100644 --- a/sound/soc/meson/axg-fifo.c +++ b/sound/soc/meson/axg-fifo.c @@ -174,7 +174,7 @@ static irqreturn_t axg_fifo_pcm_irq_block(int irq, void *dev_id) /* Ack irqs */ axg_fifo_ack_irq(fifo, status); - return !status ? IRQ_NONE : IRQ_HANDLED; + return IRQ_RETVAL(status); } static int axg_fifo_pcm_open(struct snd_pcm_substream *ss)