From patchwork Wed Nov 13 09:36:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 179269 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9340713ilf; Wed, 13 Nov 2019 01:35:22 -0800 (PST) X-Google-Smtp-Source: APXvYqx9qrcwFXAXttE1SYEoY1V+AsXQOV1G3euGAZzXi6XD1Gnnbzdjd+NLkegQqwiHpFDRn/Ir X-Received: by 2002:a17:906:7251:: with SMTP id n17mr1738602ejk.329.1573637722670; Wed, 13 Nov 2019 01:35:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573637722; cv=none; d=google.com; s=arc-20160816; b=xEeYqFhOfkm3BLIDN23CUnxBaU2u9ZY6ISwFZ49KzqLylqA7KlfwmUpYsDRITtyTb+ 9JvaSPgH9qecywOAmfBEK5xfoWEjLCXZqfVkRC2Ng/Opg8jIHtrMMNBvTMvKsiwV9BeK g/SjUioWpGIG7VNJCyV0lLHYdp8GKq/cTqIZExyRkDgVw7OtsWiOMsGYRw3cuU3CBQxG pJvbfoWxF0BGComiVrX5616wfpuKGLH1N72gFyg1+bW84hH+1p46e7onyJB6gtxSJMwU y/WlXiTsXXihZW/lknwQhxdo/ntxRlu0DmcEX1tlt88HjIH+J9VLnyjWRGHX9Z781WU7 jf8Q== 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=u3ZvJsFOOfO8a0rAzgmvXe0foFjNhQpaW0ZsCfur1kw=; b=JOIn2xkzRm7a93ov0KIqJpbnL1JMAQvroqdgT4pYzD9VapO8YKiooMTDtl43LG8rq0 ErjjqIZgLe5q8csP9lAmt/huiZP2Na7LTGXZj/VhYTUXVXcb7toBVolXk+FPphLWBQ8u E7F2sJwB1EOd1qXaWpCG4YpgcTZ69gSRhO9bMeKcXe2z4u6/+wRlBr1pCv0vcbmz6IPb rZsLyizzYIjQRvU9eIjn9SsP8p9wCpxURd+40pGlBldoQSHQKqah3EO7PWYaxqjzo9Rm rIZ0plZDyQiycq/XpzTYXqxQD5SB7uaZPrcoNSGeAOuUzB6KRkZVfNFz9yt97yM3Ejkc xi+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bn7l0zfN; 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 c23si811468ejk.143.2019.11.13.01.35.22; Wed, 13 Nov 2019 01:35:22 -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=bn7l0zfN; 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 S1727189AbfKMJfW (ORCPT + 5 others); Wed, 13 Nov 2019 04:35:22 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:47520 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727185AbfKMJfV (ORCPT ); Wed, 13 Nov 2019 04:35:21 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAD9Z8pX120169; Wed, 13 Nov 2019 03:35:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573637708; bh=u3ZvJsFOOfO8a0rAzgmvXe0foFjNhQpaW0ZsCfur1kw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=bn7l0zfNnZ8KC8BrugwAGVFgVIdZalaFTGg9uLrXOOvAW56pIu7/5UpSqQaM9YPBB YkYcxCd1OXO7O4qbbwFCGsXIIqVWIVlt4RaL+7wRcwEmjJiB5AHj0l2ZlvfRe2kgwC Oc4sjAEheYmA2JJAoVaqrsski1WLpcR1YCckrAbM= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAD9Z8s4051456; Wed, 13 Nov 2019 03:35:08 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE100.ent.ti.com (10.64.6.21) 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:50 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE107.ent.ti.com (10.64.6.28) 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:50 -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 xAD9Z0hV086866; Wed, 13 Nov 2019 03:35:06 -0600 From: Peter Ujfalusi To: , CC: , , , , , Subject: [PATCH 2/2] mmc: moxart: Use dma_request_chan() directly for channel request Date: Wed, 13 Nov 2019 11:36:16 +0200 Message-ID: <20191113093616.32474-3-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/moxart-mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/drivers/mmc/host/moxart-mmc.c b/drivers/mmc/host/moxart-mmc.c index a0670e9cd012..fc6b9cf27d0b 100644 --- a/drivers/mmc/host/moxart-mmc.c +++ b/drivers/mmc/host/moxart-mmc.c @@ -608,8 +608,8 @@ static int moxart_probe(struct platform_device *pdev) host->timeout = msecs_to_jiffies(1000); host->sysclk = clk_get_rate(clk); host->fifo_width = readl(host->base + REG_FEATURE) << 2; - host->dma_chan_tx = dma_request_slave_channel_reason(dev, "tx"); - host->dma_chan_rx = dma_request_slave_channel_reason(dev, "rx"); + host->dma_chan_tx = dma_request_chan(dev, "tx"); + host->dma_chan_rx = dma_request_chan(dev, "rx"); spin_lock_init(&host->lock);