Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp882697pxk; Thu, 17 Sep 2020 20:15:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrODeDQ+0umsPlaYI5paLG7ubIsgnTFwlkEgM210z/Fb1auE5YUDia186zSqIzrxKcgmIc X-Received: by 2002:a50:8062:: with SMTP id 89mr35376649eda.241.1600398916951; Thu, 17 Sep 2020 20:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600398916; cv=none; d=google.com; s=arc-20160816; b=x9O24Ecs3//ehn7I28UnP26dAPAu/kYz3lD1MbLszO704QTMNiLcTee2ioOJpXz1Yx t7n+UEbKRixsSRSds4Oyx8Xoqj0Km82K4vV21fA9zzBUqa7TfqX1xiuUxAYQBUTdgx91 RZnPShFRR5JbDz9X0UC+tugXUadMaCB/9naR5k/UP3RNWwTwL38d5hrPYFVV4ObT++sW CDwOtCPr4QzpBe2S17Tkp0HnCaXQzFEBbNvqiV0ms6H1UGMAC6Yno4uU+DE/myA1uRrR cGKooNZSeXoK8MkupjQ4qL17N42+haOUliabxGotfDdv15I2rB7WlaPd6v4b7eUXL9TK yatA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=L5L2IbCm6P9WU3Ryvpc82Urinf5J4iOXi6mWzAijv3s=; b=lxclVDa8PNaNaPLQ0WcVSe1cynusSoGs2c/dfJ4HXh/Qh3EmALTQ2v2mnFvXQLabP8 3mhRvgtg+MxNkNIrC8ACBIOApM6KBgurfMQJ+XaP2DzZlpuGWfnqJsHuHEIGln7MVEmg tyuGEJ6FR0AA1qPDbwj8HeO0QiCy5OKlWoGeZRQC68FrPtTi4K4azmcfqkVwBcb1plU2 tmLfZt6rZTVTm+0ZifOKbhFrqksj1OlVG1pn+UYUEPzX8IPOC2VDJQIxPrpUdt7xEmsk CCc6BSIp00nchzBtvlPOEXzAO3BbY4ICzuYZIe8v59i0XmjhcdXmxBL0mU1j4l1hhYTO BEYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GmMSy7i3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v15si1158811edw.67.2020.09.17.20.14.54; Thu, 17 Sep 2020 20:15:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GmMSy7i3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726514AbgIRCBu (ORCPT + 99 others); Thu, 17 Sep 2020 22:01:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:46008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbgIRCBe (ORCPT ); Thu, 17 Sep 2020 22:01:34 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9556B21734; Fri, 18 Sep 2020 02:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600394494; bh=QXOztF3wtrFt4Gt65qXn7Z12bKc9kPi5YfxXn+YXy1g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GmMSy7i3dE0tsQdo7zBaPY/WCCQG16W9gBVUs5rFDMF8U/9kxgE/aGI+wf4i/rn+1 QQsqG7UGZFcZpeb349elopnrc5C8kp33NjPwoM4DJ+xSiTzcEhoWx0K38GO3HPUg8a B0i5PHxxzA6MKzbh3gmZ/7wzB8bD6OmP9MWeJk/I= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Russell King , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.4 019/330] ASoC: kirkwood: fix IRQ error handling Date: Thu, 17 Sep 2020 21:55:59 -0400 Message-Id: <20200918020110.2063155-19-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200918020110.2063155-1-sashal@kernel.org> References: <20200918020110.2063155-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Russell King [ Upstream commit 175fc928198236037174e5c5c066fe3c4691903e ] Propagate the error code from request_irq(), rather than returning -EBUSY. Signed-off-by: Russell King Link: https://lore.kernel.org/r/E1iNIqh-0000tW-EZ@rmk-PC.armlinux.org.uk Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/kirkwood/kirkwood-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c index 6f69f314f2c2a..d2d5c25bf5502 100644 --- a/sound/soc/kirkwood/kirkwood-dma.c +++ b/sound/soc/kirkwood/kirkwood-dma.c @@ -132,7 +132,7 @@ static int kirkwood_dma_open(struct snd_pcm_substream *substream) err = request_irq(priv->irq, kirkwood_dma_irq, IRQF_SHARED, "kirkwood-i2s", priv); if (err) - return -EBUSY; + return err; /* * Enable Error interrupts. We're only ack'ing them but -- 2.25.1