From patchwork Wed Nov 13 09:36:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 179270 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9340787ilf; Wed, 13 Nov 2019 01:35:27 -0800 (PST) X-Google-Smtp-Source: APXvYqxVXawvrFfjOpL7on2eyj/2je8H3zfuXIhWRMzCMqI3JQ4ktdBaG+A+TqH0+sD86LK9mHpt X-Received: by 2002:aa7:cf8b:: with SMTP id z11mr2475207edx.294.1573637726952; Wed, 13 Nov 2019 01:35:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573637726; cv=none; d=google.com; s=arc-20160816; b=AP/1BlbrlCLGF0NdOgncuKbnZXGlSevCy/BjmpPN3ddSHjgP6tJhjDBaiEOkq0pmXZ pj/WXSi4K8KkO8q678+9SkVMPadfo3s5vdRzWRrwNbcLGXO4aI6ltoDhYoO0ZwrgY10h QrFsiUYjcdg0Q/IO8Oh1DxfD9/CjtKfTHXHurT2bKW8GFLAYIP3+GWT0vveV72TX/RZS GwLyl3oZFqpLOTzfVOTA/H+VYwPWJMzF/a3e+ybOUQTh6TZYepuFMs3eIMmzymRlQafF fcfIPh9C+n6YXQTaCbuwY1H7BlIm371i2evmDy08+/qxQLQ6YF2CtsmD/M/KmspaH8xh oA/g== 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=2QIKelmDaXX54OyPocUNCuVYJ6+os6iRrZK4Yb9LT3A=; b=sIM2A8H3Pz02t5H2gE6Drjo/4RRQ/688gHpu2Ti9cZBiwO7POhJ1Cx7ity/CbLZJfb H9/ETJrtk7SQj/7NL20ghC5uupYauasUx70ggnZQnb0jrf4eedg/yh7ZjYl2yHtM0xwd rjxcd0/jSZH3HzF3AuEwIf0oiDLpd0ngcU/wvRHKVUNKYseIXFLXWudyLGIWwfME/pii 2uXrsQcs6ksztnoSNA9yKMU0R4KZsefwtpaDgHZVqIlZrBE/YbgdOskCVInLqn//oxw/ GbczNmCx1V64K7NtfSWEDIFKsbna/aZFDEe+yrIoQ7DyYbSuLHRY9E/6GksgJM8SUssH 484w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hJZjT9u0; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p30si909590eda.205.2019.11.13.01.35.26; Wed, 13 Nov 2019 01:35:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-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=hJZjT9u0; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-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 S1727279AbfKMJf0 (ORCPT + 5 others); Wed, 13 Nov 2019 04:35:26 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:56310 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727185AbfKMJfZ (ORCPT ); Wed, 13 Nov 2019 04:35:25 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAD9Z6mq061805; Wed, 13 Nov 2019 03:35:06 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573637706; bh=2QIKelmDaXX54OyPocUNCuVYJ6+os6iRrZK4Yb9LT3A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hJZjT9u0PRgW38yl6FFRtvC1klWTMZvOiLB457Ud6XeRuZGnTZ+leyldFSFCI/IOd BDsH7t0AKEc14CPo9vtdjzW7qdqU8VYo39gnXdGoLH5r7Y5jlSyjWE0D2dnK1wIhCc 6EwuAQVLQQrfQkZoZNriXEqbzsObrjPhkhp+7s+w= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAD9Z6Dw073704 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 Nov 2019 03:35:06 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE105.ent.ti.com (10.64.6.26) 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:34:48 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) 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:34:48 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAD9Z0hU086866; Wed, 13 Nov 2019 03:35:03 -0600 From: Peter Ujfalusi To: , CC: , , , , , Subject: [PATCH 1/2] mmc: atmel-mci: Use dma_request_chan() directly for channel request Date: Wed, 13 Nov 2019 11:36:15 +0200 Message-ID: <20191113093616.32474-2-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191113093616.32474-1-peter.ujfalusi@ti.com> References: <20191113093616.32474-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org dma_request_slave_channel_reason() is: #define dma_request_slave_channel_reason(dev, name) \ dma_request_chan(dev, name) Signed-off-by: Peter Ujfalusi --- drivers/mmc/host/atmel-mci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki Acked-by: Ludovic Desroches diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 34c992d87529..6f065bb5c55a 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c @@ -2347,8 +2347,7 @@ static void atmci_cleanup_slot(struct atmel_mci_slot *slot, static int atmci_configure_dma(struct atmel_mci *host) { - host->dma.chan = dma_request_slave_channel_reason(&host->pdev->dev, - "rxtx"); + host->dma.chan = dma_request_chan(&host->pdev->dev, "rxtx"); if (PTR_ERR(host->dma.chan) == -ENODEV) { struct mci_platform_data *pdata = host->pdev->dev.platform_data;