[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8746a913-0014-7036-7fab-4e0dfab04e1b@gmail.com>
Date: Wed, 8 May 2019 18:15:17 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Baolin Wang <baolin.wang@...aro.org>, dan.j.williams@...el.com,
vkoul@...nel.org
Cc: thierry.reding@...il.com, jonathanh@...dia.com,
linux-tegra@...r.kernel.org, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
linux-imx@....com, Zubair.Kakakhel@...tec.com,
wsa+renesas@...g-engineering.com, jroedel@...e.de,
vincent.guittot@...aro.org, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/8] soc: tegra: fuse: Change to the correct
__dma_request_channel() prototype
07.05.2019 9:09, Baolin Wang пишет:
> Since we've introduced one device node parameter for __dma_request_channel(),
> thus change to the correct function prototype.
>
> Signed-off-by: Baolin Wang <baolin.wang@...aro.org>
> ---
> drivers/soc/tegra/fuse/fuse-tegra20.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/tegra/fuse/fuse-tegra20.c b/drivers/soc/tegra/fuse/fuse-tegra20.c
> index 49ff017..e2571b6 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, NULL);
> if (!fuse->apbdma.chan)
> return -EPROBE_DEFER;
>
>
1) Kernel should be kept bisect'able by not having intermediate patches
that break compilation. Hence you should squash the changes into a
single patch.
2) Better to replace __dma_request_channel() with dma_request_channel()
since they are equal.
--
Dmitry
Powered by blists - more mailing lists