Message ID | 20180726124544.14740-2-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 31B2314BC for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 26 Jul 2018 12:46:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F45A2B15D for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 26 Jul 2018 12:46:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 139802B16E; Thu, 26 Jul 2018 12:46:09 +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=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 1C6C62B15D for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 26 Jul 2018 12:46:06 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 494B726778C; Thu, 26 Jul 2018 14:45:57 +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 D1A1E267784; Thu, 26 Jul 2018 14:45:53 +0200 (CEST) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by alsa0.perex.cz (Postfix) with ESMTP id 35EF826776E for <alsa-devel@alsa-project.org>; Thu, 26 Jul 2018 14:45:50 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id t13-v6so1576382wrv.12 for <alsa-devel@alsa-project.org>; Thu, 26 Jul 2018 05:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=a+ev1bGmZHlGL08s3doi18bCWN3phVVcjsC7HmN0N84=; b=SOUaedzXxtGnPxHEyOFiPlxXXC7pvP5qC2+5nOvXb/Wgpxg7FLcKG1K7W09w9VsbE8 sMBibxY3wBGbb7AOHSnVWBvS9FCS9QXs9aQzYsQgAwH/7gcJ/PHewM2+Dz5pA1o9/zOP GbEDJvX/rgyE3t45Wg8DZKMHddO6Pf7icLaTgZ44hj13r29g42DzoOFDkqSjr1KFSD02 LZzJlomoHOA1GZ25iqk/duk7brLknuh1D+oz1/77tyonCo4bo279CoVHepTfSgl5w5Rt 6jAn+4MZhNjdJUu9+fVgZa8U7GMDPNWEeD8Z+aeunPtVyGrxr8BmojN6om+g5480ho92 Ywdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=a+ev1bGmZHlGL08s3doi18bCWN3phVVcjsC7HmN0N84=; b=DwWexDjQbjx5QgBNRl7GbNdaK/eCQVFShODK/ED27l7TzY4VomX/94p5igKCV87xi+ GAQPpM9RXr34tZyBtUABwpaKkdddWAwywbc99Jt83SN8bTldbvrOm8NbBDt2YPjLovpp t5ZjMgvtUetQNfCA8UfztyMusDdxv2X/nt/wMfqEiQWali1vBIx9/DNiFAogTZDUeptH d+NtviiAh8BmuKtbmEbH0pkSt1XpYNnliFw6AkXdLAR6xD7/+SitF1jYZzwOfy17V0W2 QIV7ik85BZKqEwnF0rntD5LkM4i64E4j2KFfMfhkkwVomZN2iarmYFH+LFk2VMg0DXh3 iVpQ== X-Gm-Message-State: AOUpUlFxu2kihHJ2y5xHyZ+oWXONavwQVKRIBcF2fw7fImvMO3hKX6eH rpdRmi50DeLUsbCx92iJfvDUpA== X-Google-Smtp-Source: AAOMgpexpjF9VUVJagjAHwizM2j8sqdrimDsg171xx54WHaIJ3AN0NEz80JI2LL626ihgDp0QfPuyQ== X-Received: by 2002:adf:fdcd:: with SMTP id i13-v6mr1442163wrs.276.1532609150700; Thu, 26 Jul 2018 05:45:50 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id m207-v6sm1867744wma.31.2018.07.26.05.45.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Jul 2018 05:45:50 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>, Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org>, Rob Herring <robh@kernel.org> Date: Thu, 26 Jul 2018 14:45:42 +0200 Message-Id: <20180726124544.14740-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180726124544.14740-1-jbrunet@baylibre.com> References: <20180726124544.14740-1-jbrunet@baylibre.com> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com> Subject: [alsa-devel] [PATCH 1/3] ASoC: meson: use IRQ_RETVAL in the fifo irq handler 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ASoC: meson-axg: fifo and card fixup
|
expand
|
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)
Use IRQ_RETVAL instead of the open coded ternary operation. Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- sound/soc/meson/axg-fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)