Message ID | 20191113094256.1108-3-peter.ujfalusi@ti.com |
---|---|
State | Accepted |
Commit | bef1e0c8f74c87e7427cb98b2e76caf046c7b65a |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9347326ilf; Wed, 13 Nov 2019 01:42:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxfEMWYX1nPQjqcs01jKnc9DxA9QbDlt/9oCvaE/nPxfBZJFkiExOOW22fA968XLaIGTXy+ X-Received: by 2002:a05:6402:1049:: with SMTP id e9mr2445929edu.91.1573638152154; Wed, 13 Nov 2019 01:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573638152; cv=none; d=google.com; s=arc-20160816; b=ssVwH1U0do947j6EznCHGPMF8CTQbGh+nXSJlKFQ36wqYvXBEpT0ADdEzOTumF6rcW 7ucAVuY30++jzTNj0GRick/vDwat+KnJSo8ND0arMJD5Sg9cTuGKy6LNI5LkFTQ/y3+0 RK16zCRwlnwoxj/AMl4pNqBAZfHwA1rtb91INyeeFe6jLZGUqdZ2MhONMja9b9Jm4k4d pCULMXkdmRTzLfVxQ68056HD8I2TAj+8AZhwkppHe5pgh0jvjHOMY3qSUb7V18kkQ5ri ykemrXEvURhzYvjj4YlBr6dQvnFu2rz1SGSmsBWRCdu4LY03SyeL1iQJrvzycQPX9sJR ZJAg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Y/q+Uc0kJcnsEtkPZLoAUqklymOGD37m/W5bZPJJsVQ=; b=yCqYB1pv+n5Q+xHSHjx68rhirdE7mVdtAPoO3qvcc/g6tUKhABm0JGCrGOCtt92RsH bSy6JOkTH23OYZ9WVciFJYBCvbnBk+jAvGuX7FJTuu6lH8oA5Bc3SAr4+e7sW/OB5Lx7 i+IkwjoM9uPGm6OwB8+yy54wJTR7u2qBIq2I0QUuktrHZ80aNVGGwuCif8uO63UZ/XF7 ZtBdWoGQBbvS/pIAZr4N7qfrmv3merh8Hdl6Lyy0MljtWI+ep8anUfUjBQPT8TnJ1WYL 5WP1lalQP5I+CgJ6ltV0thxnlkd0AlaaFhEDZNObpisIdl60YLRw97bJC+1dre3eSAyz I3yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qM8xxdXr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cc4si890423edb.237.2019.11.13.01.42.31; Wed, 13 Nov 2019 01:42:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@ti.com header.s=ti-com-17Q1 header.b=qM8xxdXr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727527AbfKMJm1 (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Wed, 13 Nov 2019 04:42:27 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:38540 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727507AbfKMJm0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 13 Nov 2019 04:42:26 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAD9fsRx086527; Wed, 13 Nov 2019 03:41:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573638115; bh=Y/q+Uc0kJcnsEtkPZLoAUqklymOGD37m/W5bZPJJsVQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qM8xxdXrkusmZ3sgm2XTnAE//X1gCECey1qDrpUhcYTYRgKUks1s8GcJ0nXmYFGaO bXl9pXLWW88Xu1+oxRFZWEKwibOykiD0OjBRNCbvZB2/DI/Ye3IcBhmZaieuBfh7Id tGOmbfanD3wdWwvnYPMLcrbgGd85WoHJTBps7iBY= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAD9fsFm083389 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 Nov 2019 03:41:54 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 13 Nov 2019 03:41:36 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 13 Nov 2019 03:41:36 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAD9feM2072663; Wed, 13 Nov 2019 03:41:50 -0600 From: Peter Ujfalusi <peter.ujfalusi@ti.com> To: <broonie@kernel.org>, <radu_nicolae.pirea@upb.ro>, <shawnguo@kernel.org>, <s.hauer@pengutronix.de>, <linus.walleij@linaro.org>, <agross@kernel.org>, <bjorn.andersson@linaro.org>, <andi@etezian.org>, <ldewangan@nvidia.com>, <thierry.reding@gmail.com>, <jonathanh@nvidia.com> CC: <vkoul@kernel.org>, <linux-spi@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <alexandre.belloni@bootlin.com>, <linux-arm-msm@vger.kernel.org>, <kgene@kernel.org>, <krzk@kernel.org>, <linux-tegra@vger.kernel.org> Subject: [PATCH 2/9] spi: atmel: Use dma_request_chan() directly for channel request Date: Wed, 13 Nov 2019 11:42:49 +0200 Message-ID: <20191113094256.1108-3-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191113094256.1108-1-peter.ujfalusi@ti.com> References: <20191113094256.1108-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[1/9] spi: at91-usart: Use dma_request_chan() directly for channel request
|
expand
|
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 9e84a93083bc..56f0ca361deb 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -511,7 +511,7 @@ static int atmel_spi_configure_dma(struct spi_master *master, dma_cap_zero(mask); dma_cap_set(DMA_SLAVE, mask); - master->dma_tx = dma_request_slave_channel_reason(dev, "tx"); + master->dma_tx = dma_request_chan(dev, "tx"); if (IS_ERR(master->dma_tx)) { err = PTR_ERR(master->dma_tx); if (err == -EPROBE_DEFER) {
dma_request_slave_channel_reason() is: #define dma_request_slave_channel_reason(dev, name) \ dma_request_chan(dev, name) Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> --- drivers/spi/spi-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki