From patchwork Tue Nov 19 05:14:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179635 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp148514ilf; Mon, 18 Nov 2019 21:26:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzNT8BGgAjKxrfmUJz6gVPzx+MktCjC7b8dYZRtZqhsqpV/fIF/9EsL0m+g6Acbs/ywbCzw X-Received: by 2002:a17:906:4d93:: with SMTP id s19mr3886782eju.285.1574141168511; Mon, 18 Nov 2019 21:26:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574141168; cv=none; d=google.com; s=arc-20160816; b=lgbUWULUMywQqYgez6mBGw0EBkL8enz9A+HJSV91ntHHpIpVU5psaI+Wp5QYkxp4Yo 2EGPtrZVnO8DyO8zmPD1iKKAM93N2h+48O/W+c+ePYcxAudqhHIlGh5YrLbjlWZUNCI3 F5VTOqRl2LniraCLu22K+OA9rpQ5SYVLxO8AAAvwguWJgsOfQ6jfI+ZeFtHTVEWGMQ0L tNqp+admQl4LQynq1YDDe/2NxGdWyohCkKcNpR7iKWpopSKoy2LcEJ+0fNL4sZdtDEMO zcLM/w4eTyIvEYBx3EHY14SZ/ztgcAGdG0hYetbNzvH/CTF5Od5W+WGnpDiGqTOpDbrN bDhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PqIzis6grXkMKbKmk6lvdK0uUpspysnflgy+ztfeEr4=; b=YVUVsP6UfbRqdDM4vA9FipC8Ct4PJSwY2h3Dw4Pbg5WA03D3ZOIIywoe8eVt0C6Wfy HjCJSf/4FxImc6Z+j4qjbLFL/64MYiyZNJ1Q4lzSxMzyUhtwwvAsATMYdEOvl2w+0I1s U8ZLHVpC5grfOCaZY446Dz+muhn86lHe9ClvTlklQbL6Kpdt0Zd9MppUnGniuvfkg3v8 l2nj6bxL7Wa+Lv5kPehDKRH6VHqZ8zA2kDAbdGBMT3T0GJU4tuG/8u44TX+N/8XVpm2E mf6iDY2kkfsQ6itpE2u8Ly5+jkVtBrYBpMUqNEIlm7DtwGoR4naSO2YHpP4+xq+EHqM4 UETA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=J2JSjJSQ; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be23si13607058edb.103.2019.11.18.21.26.08; Mon, 18 Nov 2019 21:26:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=J2JSjJSQ; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728497AbfKSF0H (ORCPT + 15 others); Tue, 19 Nov 2019 00:26:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:44074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727849AbfKSF0G (ORCPT ); Tue, 19 Nov 2019 00:26:06 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1BC4222A2; Tue, 19 Nov 2019 05:26:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574141166; bh=GFSVBNLPJtFDTvTDouENezti5bv31KmrpDsn995p2Sk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J2JSjJSQYYiFaFgJ7AJztaa/30yiJiMY1w+2Ycci5OS+k5lUNIW68r8seruIc5mTl uRQmWz4nHao/qGkQEO1GNEPMa8/tt44MmxrIyeqUimaomcix3sVv8gZWppJxHU2b5c q2oMwBi4YK7UhJVWNzL/ond8iUl4opsYAMelyR/c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jerome Brunet , Mark Brown , Sasha Levin Subject: [PATCH 4.19 068/422] ASoC: meson: axg-fifo: report interrupt request failure Date: Tue, 19 Nov 2019 06:14:25 +0100 Message-Id: <20191119051404.060509734@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051400.261610025@linuxfoundation.org> References: <20191119051400.261610025@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jerome Brunet [ Upstream commit dadfab7272b13ca441efdb9aa9117bc669680b05 ] Return value of request_irq() was irgnored. Fix this and report the failure if any Fixes: 6dc4fa179fb8 ("ASoC: meson: add axg fifo base driver") Signed-off-by: Jerome Brunet Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/meson/axg-fifo.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 diff --git a/sound/soc/meson/axg-fifo.c b/sound/soc/meson/axg-fifo.c index 30262550e37b1..0e4f65e654c4b 100644 --- a/sound/soc/meson/axg-fifo.c +++ b/sound/soc/meson/axg-fifo.c @@ -203,6 +203,8 @@ static int axg_fifo_pcm_open(struct snd_pcm_substream *ss) ret = request_irq(fifo->irq, axg_fifo_pcm_irq_block, 0, dev_name(dev), ss); + if (ret) + return ret; /* Enable pclk to access registers and clock the fifo ip */ ret = clk_prepare_enable(fifo->pclk);