Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3451289pxu; Tue, 8 Dec 2020 12:23:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0E/Mr+5M6f7gA9VwVZiy52ByKL/7NyNMA3GoekNedqMjfKEnxcqX9n1SJkqgZZuQMefWu X-Received: by 2002:a17:906:4c55:: with SMTP id d21mr24783634ejw.116.1607459025014; Tue, 08 Dec 2020 12:23:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607459025; cv=none; d=google.com; s=arc-20160816; b=yjnRZx3WBtJHdXumv2M+3E4ymTGbhqJbBZLMuCpQ21ZpUPKXiSaYJmjK5uW/F6RfQ+ 4kRgbW0V26/PnXEgYS84ZbnkejbEilVHDSSMyYzNAcVbO704vVwKWLvjk+t3Fu2sak1i 3VMWsh7e1znoBCwpPnywzhSh/MQ6bU12uDJmjPn76cjZnAiuBRBrWwR1OxcGUuFE8XaU 14SWrJhSBOiYsDsocYZXsaEqhop+dUK5JujtUGXhS4HIHKgzDNPyWDpF8H959U5zpswZ 9/ZAMS0U322nl4xhKchwLFot7qJGb+3XfElg1KzLHbw5GtCFrsPcOZt2tvGov3nRKK2c NMow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=iv8zEB8GmkL1Ie8iD/aF0lFt3MMc4uENlhuM/JropiM=; b=iXjWaabwK895i4f3OZWSXg8Ly8xJXDaW6TSLyIePiQOV0p+uVWXbh1tgwrQGeoPp5F oTppEhrbngox7P2tM8RB7qdRvwuExuBRN5FilLWsHQxJwT0T204CaqGisdcJLb9O+Cx5 QJT71onPXCHpiIdwdOjUGBfSeYn+0U30zRCe+yfg/cSl7XWkOnhRtwbp4pLyFrts5vHG 8w2vqnGKYXK242XYxTC23928Wrb93OpA1zlim5c7LM9HfaFdcJXZ2THJCYRKVTa8ydQr b+eoWeLCfIixWeh+Yw/nHRDQ0Sz8egDb+m7cFYuR7YOWhSO/jyyCzE/MMSsWktJK+C9F BRoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tezWFPvr; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c26si11284733edx.406.2020.12.08.12.23.22; Tue, 08 Dec 2020 12:23:45 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=tezWFPvr; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729229AbgLHLyJ (ORCPT + 99 others); Tue, 8 Dec 2020 06:54:09 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:38862 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbgLHLyI (ORCPT ); Tue, 8 Dec 2020 06:54:08 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0B8BqT4n055991; Tue, 8 Dec 2020 05:52:29 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1607428349; bh=iv8zEB8GmkL1Ie8iD/aF0lFt3MMc4uENlhuM/JropiM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=tezWFPvrmjofJ/S2KYjmR/OowZJhp2+slBY0ZHb3lKhQbWQCCJjeXa1IMpLBqSGMH ZYBwGU9WbImuNwtrWrtnznTRG9byFpzBieI6yJQtt982tGGkRm2hwa+En73VL1a+HW repFqb7CqWZYNt+6efLAJGAqP1kIqz/19CxJR+60= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0B8BqTSn116810 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Dec 2020 05:52:29 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 8 Dec 2020 05:52:28 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.1979.3 via Frontend Transport; Tue, 8 Dec 2020 05:52:28 -0600 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0B8BqPb9090364; Tue, 8 Dec 2020 05:52:26 -0600 Subject: Re: [PATCH v3 05/20] dmaengine: ti: k3-udma-glue: Get the ringacc from udma_dev To: Peter Ujfalusi , , , , CC: , , , , , , References: <20201208090440.31792-1-peter.ujfalusi@ti.com> <20201208090440.31792-6-peter.ujfalusi@ti.com> From: Grygorii Strashko Message-ID: Date: Tue, 8 Dec 2020 13:52:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201208090440.31792-6-peter.ujfalusi@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/12/2020 11:04, Peter Ujfalusi wrote: > If of_xudma_dev_get() returns with the valid udma_dev then the driver > already got the ringacc, there is no need to execute > of_k3_ringacc_get_by_phandle() for each channel via the glue layer. > > Signed-off-by: Peter Ujfalusi > --- > drivers/dma/ti/k3-udma-glue.c | 6 +----- > drivers/dma/ti/k3-udma-private.c | 6 ++++++ > drivers/dma/ti/k3-udma.h | 1 + > 3 files changed, 8 insertions(+), 5 deletions(-) Reviewed-by: Grygorii Strashko -- Best regards, grygorii