From patchwork Mon May 20 11:32:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 164591 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp167576ili; Mon, 20 May 2019 04:32:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpizlWUT2JuDRpcDvtDbyfphab4cHH9aLzBwDg4msUjsZrapB7mEWaEWbg9SrTm4KTwLN7 X-Received: by 2002:aa7:8ec6:: with SMTP id b6mr79687029pfr.234.1558351963676; Mon, 20 May 2019 04:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558351963; cv=none; d=google.com; s=arc-20160816; b=L6CBRWTIcMUS6yVCj50LKZts2NHInR26gpjMMuQ+zT3DjozNA6YXo1mbFkoNWf8Chv PK5/xzB0y8KXFEdXTy/SdQZZ8UnGPUeYN69qggxpY4j2ovJvyM7YyLckQyicDaYRCtz2 VlBjtV4cRnsPFuuuATICQkg+XivebiQhrNGdaTxwYXsFUTeS9cHfeF6ZBoNw9R/amz3V kXqfnSCNPMPW1U/rRSeVNU81OJ8Un0V794n9VE3YPaUiU0uP8wGl9jwa8U05CULiTToQ pMrIei20Es24GamMXXg2S9PqqYWRDXsIiwqOUCO2mgncDpAtgf5qoHCGLlaA3uCtNAq0 RVeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=SH6bOeq9QaZcFruKHetHjcR5Vxn/cn2SAhXtcAspD6Q=; b=TFl9+7AGai8FvsDd21f8pQflcsp1lQQvKDmtuaWke6ZrtjH6Y/lG6q5d+x1Feeaypx aQt6K7oB3cyfHjVf6C4vFgSm1zFjZ2U6Ezu4RgI7NIGW1j20B/sSxxzj5HRR30jCUPDM FkIpC9jI2Szp1YezNU9NNojDbE+cDBPBGoSbVJKqPPPxjpxMxbAue3Jn2Kk8y/J7b8bO fJTftdMLPLjxjXkCQxLjENUWjysYad0OaM4Um0bPRzdFoGCh2l7scIQLOV++y+d9ukXl 487C3hf2OGCfDTsvA/oJWcwn65twVAy7HnoWHGRjEUvTZGDHzQZLYl+zo9/Iq2N3P8Fe sF9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sflEPPU6; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si17324176pgd.155.2019.05.20.04.32.43; Mon, 20 May 2019 04:32:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dmaengine-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=@linaro.org header.s=google header.b=sflEPPU6; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732907AbfETLcn (ORCPT + 3 others); Mon, 20 May 2019 07:32:43 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:34021 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732905AbfETLcn (ORCPT ); Mon, 20 May 2019 07:32:43 -0400 Received: by mail-pl1-f196.google.com with SMTP id w7so6613292plz.1 for ; Mon, 20 May 2019 04:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=SH6bOeq9QaZcFruKHetHjcR5Vxn/cn2SAhXtcAspD6Q=; b=sflEPPU61og2VFcVypItpwuhuRDg9RrZEU06pKHkq2dyUELMdFIRetA3Amp70Gtasf LhfWjt1c9cmf+TG5FSEfkVz+lZS0jhnu+radx8ygtiMy6DUBV6VY/q7zmVwRrpmQQgY2 B9Dc9sKeRreukolUt81y2EoSpDcHlDSNm3QhtmO5fmJhtkfyi6KzETanmpcUjlCFpOcf Q26N+Ofg3YiM4/uR0pX24XqD7mW/EcgeKAO2TfSrLASTOTfUwr2snO69Ns6Zc+0XQf1M LBwZV3ZxwK9YX1i7P0cXIqNlvHWZPbknS8ZDFw4g+tubEeoIjZHWwcDoF3THlN+Gxy0Y vhJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=SH6bOeq9QaZcFruKHetHjcR5Vxn/cn2SAhXtcAspD6Q=; b=bnwd7WvW6VOfYMVsHzTOnsGL+zTcE8+fD0paGl98zSGLyqVCyxFCR6PPaexYXZp+Km 5CCjhntdTtBVEVH/9s06bBVwg38uDF79qTKnACYUiby2gwxIJfFdAt27ZQQpHt8v7AAn cW/ggCJRz3yIvcMufh3RbHRr8GmHNlJht0PrCeY0RvJ+gDyU3QaZ8a9Vc44AgB7CClFn mv1QTj8b28CJKBzr64ntsOs172ZtbJeBnnNRGDDT+QyGeU954r3sVMehmwNlMYnXEUdR 4nn1gNvKYcE3V/Zo6rX1rWAn+qQd3ci/HT+nxg+Q9cmGkJet0LQIE7EaPrngg9jXPtBO qwSA== X-Gm-Message-State: APjAAAVKCsOfprLZQ0rI31quJjjLF1F7rHL3NN8LOmoK0qu95oEb6UBZ 6Tf+Rx0h2Jx4t27stGlovs0Tyw== X-Received: by 2002:a17:902:a81:: with SMTP id 1mr29319466plp.287.1558351962410; Mon, 20 May 2019 04:32:42 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id z124sm21310020pfz.116.2019.05.20.04.32.37 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 May 2019 04:32:42 -0700 (PDT) From: Baolin Wang To: dan.j.williams@intel.com, vkoul@kernel.org Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, wsa+renesas@sang-engineering.com, jroedel@suse.de, vincent.guittot@linaro.org, baolin.wang@linaro.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/8] soc: tegra: fuse: Use dma_request_channel instead of __dma_request_channel() Date: Mon, 20 May 2019 19:32:15 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org The __dma_request_channel() prototype has been changed to help to do device node validation, thus we can use dma_request_channel() instead of __dma_request_channel() to keep kernel bisectable. Signed-off-by: Baolin Wang --- drivers/soc/tegra/fuse/fuse-tegra20.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 diff --git a/drivers/soc/tegra/fuse/fuse-tegra20.c b/drivers/soc/tegra/fuse/fuse-tegra20.c index 49ff017..f40a06f 100644 --- a/drivers/soc/tegra/fuse/fuse-tegra20.c +++ b/drivers/soc/tegra/fuse/fuse-tegra20.c @@ -110,7 +110,7 @@ static int tegra20_fuse_probe(struct tegra_fuse *fuse) dma_cap_zero(mask); dma_cap_set(DMA_SLAVE, mask); - fuse->apbdma.chan = __dma_request_channel(&mask, dma_filter, NULL); + fuse->apbdma.chan = dma_request_channel(mask, dma_filter, NULL); if (!fuse->apbdma.chan) return -EPROBE_DEFER;