From patchwork Wed Nov 13 09:54:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 179288 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9357437ilf; Wed, 13 Nov 2019 01:54:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxLz0L8qzFTgvPrvbJpwQsEmLIBeWC+B2+iucPM9uBPD15OoGA+5rR8JMBhreelSCL1OWIp X-Received: by 2002:a17:906:c7d5:: with SMTP id dc21mr1858161ejb.267.1573638845166; Wed, 13 Nov 2019 01:54:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573638845; cv=none; d=google.com; s=arc-20160816; b=ajlIILeTsYtDx0G1fDlIu1ovetDvRUNMLiI+3JsBOoyrFZhAfoI93oZ3354OJtElen Sz6/T+8deU7pqxYGxt4y5jTX0rXgCONwBGnkv8oiJVqroYktRElP+HxFrpvQqLzZhyOW h0K4Oee4Ca4QvKigHQOXCCiaJng2jdWrF+E/WH8dCXjpagVzmSZkd10+rPFHhibr7ta7 9CQHQfczC+EuKa1rHgSIBd4xoQynNFBs2xzRmqHYTeA9eGBh96C31WPPyeEGlmMs4PG5 Ef+IMFlLFSdI5gx8fw/loDRm7Q0hwTlGsCbFOUybGMTv6yQAw0Ww/WRANlbvxIccKiFJ oXZQ== 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=I90xq++VpRRQlH9iLcYVO/WU1tHrd6e7lDGaAOGJKKM=; b=gAwZoog2GZePouMz9Xr+Q7Q4SyFhMVFOT1E1w7ofH8bcYngscMRD1PMxY5jMyjdv0l IfegDHt47WDLfPuiP9/EvAwRhrjwo95xZ+GUXgQ37ez3S/Fj42ZGSr2co5glOQjpr4Mn aq7QSNJtIGB8JRJXOHqM1SBmuMymkzmVyak5l1uHD2dVtCOY9KfJZpnkXEiW65Fa71vo lJ9oWX5WgyuqpAzo9fBxJj4j6XbwGkweiF/7lbIw9ypiAIqgz3lHbCOOsdmqfJl7XwLt BVhk7czStk1OnWt9qnhNxjfJk0rtLhRAy5CJ60bMMVjuuCE6vhtY8RdhguxC8StmmOTF BHBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wohaGs2Q; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si955371edr.198.2019.11.13.01.54.04; Wed, 13 Nov 2019 01:54:05 -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=wohaGs2Q; 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 S1727354AbfKMJyA (ORCPT + 26 others); Wed, 13 Nov 2019 04:54:00 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50278 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727145AbfKMJxz (ORCPT ); Wed, 13 Nov 2019 04:53:55 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAD9rbtv126686; Wed, 13 Nov 2019 03:53:37 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573638817; bh=I90xq++VpRRQlH9iLcYVO/WU1tHrd6e7lDGaAOGJKKM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wohaGs2QIMaET3VJOrHbo96YgxOBK1lr+R2PBOVGYDJTQJfhJn+Z/KwXoQPxPG7Do XLbkaqhSKhYfN6e56ZLziSDq9qQKE1e+01RotuVOJr9tJ96JgyZoxgt/0Lqj1jrcsZ wjILvfr2IEkuvLuXMkglHX0aKBBVrd6pbYEnXaAQ= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAD9rbuN019290 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 Nov 2019 03:53:37 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE106.ent.ti.com (10.64.6.27) 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:53:19 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) 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:53:19 -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 xAD9rUGU121188; Wed, 13 Nov 2019 03:53:35 -0600 From: Peter Ujfalusi To: , , CC: , , , Subject: [PATCH 2/2] ASoC: ti: davinci-mcasp: Use dma_request_chan() directly for channel request Date: Wed, 13 Nov 2019 11:54:45 +0200 Message-ID: <20191113095445.3211-3-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191113095445.3211-1-peter.ujfalusi@ti.com> References: <20191113095445.3211-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- sound/soc/ti/davinci-mcasp.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 diff --git a/sound/soc/ti/davinci-mcasp.c b/sound/soc/ti/davinci-mcasp.c index 7aa3c32e4a49..8e5371801d88 100644 --- a/sound/soc/ti/davinci-mcasp.c +++ b/sound/soc/ti/davinci-mcasp.c @@ -1867,7 +1867,7 @@ static int davinci_mcasp_get_dma_type(struct davinci_mcasp *mcasp) return PCM_EDMA; tmp = mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data; - chan = dma_request_slave_channel_reason(mcasp->dev, tmp); + chan = dma_request_chan(mcasp->dev, tmp); if (IS_ERR(chan)) { if (PTR_ERR(chan) != -EPROBE_DEFER) dev_err(mcasp->dev,