From patchwork Mon Oct 7 15:06:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13824920 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8FEECFB44B for ; Mon, 7 Oct 2024 15:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4XG7OGEFmNM/J443VUfGgMn6gKg1IJ/WTCSz8njMl9E=; b=AOXOWcdhkFQd1wn/xqfe1Rb2k/ BPlmysGKzHnasRyctatgps1PCLczNwnvMwqpTNVG9e423smbgltFtLpUDj5aae3tRdPWgdL90taZQ 1JHmiAkZxJHYZFNjdpUQHChRyms4392JYPlHIbLRfTBGijiHWbyLhDqK1t9wQCJeEM1DOiWm5GxjG bHf2XsPMW4OiMHlQ7ls5CDUdPI0vPSkbmtR24vKM3p4n+V9J+U8sHvHDRv+FGAyB5d4BCd8hff/DO 0lY1Efh5WxrHf3GxZF4t6RPrN2A3dWHWAMf57KAX4KRf9039yWUXnztMOpi2kdVTuYlmpXcrodeL6 vYybjUoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sxpdd-00000002vs4-2apA; Mon, 07 Oct 2024 15:27:09 +0000 Received: from mgamail.intel.com ([198.175.65.19]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxpMo-00000002snj-4793 for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2024 15:09:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728313787; x=1759849787; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=v+m7u6xYkCBvtRWhJdg+uTuu7BjwAyMzFJa9C4zYqqo=; b=Ub8rcmjCR6O0HPzR2xjd8q3I71MOKhs6BiazdDAbjF9R5QCCYz7N4mFD 4KGtX9vya+VwsC8gaNC1B+dt8yQuNkk4SDHnNXZaLV1X7qWjfpa8ptw5S PwezgsSWtnkNUuXj38N1IL+AmBDmqiN3riPZ/LFbAmYu3G0ESeWc69STp hhNlk16UOaxbJ4IbZrSyD7J4t415QiSDz/Mkorhfjw9VaJbac5Fz1uJt7 Uv+tdLIWUyNLhtN6tB+4/Y0A6N6K4rz7dKNWVA8D5fLshfo2YoVtHsMjG 31/nPh63vIG8D+Rg+3pWYqwhq26a7qNslhh5P8TNLyM13t0Y4J/vPar5x Q==; X-CSE-ConnectionGUID: Oi8w3ny2RJia/k6x1UTgmA== X-CSE-MsgGUID: Dorvbdq5RaKMJr8J75BerA== X-IronPort-AV: E=McAfee;i="6700,10204,11218"; a="27346845" X-IronPort-AV: E=Sophos;i="6.11,184,1725346800"; d="scan'208";a="27346845" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2024 08:08:58 -0700 X-CSE-ConnectionGUID: N3tW80l1RxCuOo04E+yaXw== X-CSE-MsgGUID: JWCOqzuCTyCipaIKiLRelw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,184,1725346800"; d="scan'208";a="79494666" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa003.fm.intel.com with ESMTP; 07 Oct 2024 08:08:55 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id C68C337D; Mon, 07 Oct 2024 18:08:53 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Vinod Koul , Paul Cercueil , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Subject: [PATCH v1 2/4] dmaengine: Use dma_request_channel() instead of __dma_request_channel() Date: Mon, 7 Oct 2024 18:06:46 +0300 Message-ID: <20241007150852.2183722-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20241007150852.2183722-1-andriy.shevchenko@linux.intel.com> References: <20241007150852.2183722-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241007_080947_098585_1AE19B18 X-CRM114-Status: GOOD ( 11.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Let's reduce the surface of the use of __dma_request_channel(). Hopefully we can make it internall to the DMA drivers or kill for good completely. Signed-off-by: Andy Shevchenko --- include/linux/dmaengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index b4e6de892d34..2f46056096d6 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -1639,7 +1639,7 @@ static inline struct dma_chan if (!fn || !fn_param) return NULL; - return __dma_request_channel(&mask, fn, fn_param, NULL); + return dma_request_channel(mask, fn, fn_param); } static inline char *