linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: <ludovic.desroches@microchip.com>, <agross@kernel.org>,
	<wsa+renesas@sang-engineering.com>, <ldewangan@nvidia.com>
Cc: alexandre.belloni@bootlin.com, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org, jonathanh@nvidia.com,
	vkoul@kernel.org, thierry.reding@gmail.com,
	linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org,
	digetx@gmail.com, bjorn.andersson@linaro.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] i2c: sh_mobile: Use dma_request_chan() directly for channel request
Date: Wed, 13 Nov 2019 11:22:34 +0200	[thread overview]
Message-ID: <20191113092235.30440-4-peter.ujfalusi@ti.com> (raw)
In-Reply-To: <20191113092235.30440-1-peter.ujfalusi@ti.com>

dma_request_slave_channel_reason() is:
#define dma_request_slave_channel_reason(dev, name) \
	dma_request_chan(dev, name)

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 drivers/i2c/busses/i2c-sh_mobile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c
index 8777af4c695e..82b3b795e0bd 100644
--- a/drivers/i2c/busses/i2c-sh_mobile.c
+++ b/drivers/i2c/busses/i2c-sh_mobile.c
@@ -486,7 +486,7 @@ static struct dma_chan *sh_mobile_i2c_request_dma_chan(struct device *dev,
 	char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx";
 	int ret;
 
-	chan = dma_request_slave_channel_reason(dev, chan_name);
+	chan = dma_request_chan(dev, chan_name);
 	if (IS_ERR(chan)) {
 		dev_dbg(dev, "request_channel failed for %s (%ld)\n", chan_name,
 			PTR_ERR(chan));
-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-11-13  9:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-13  9:22 [PATCH 0/4] i2c: Use dma_request_chan() directly for channel request Peter Ujfalusi
2019-11-13  9:22 ` [PATCH 1/4] i2c: at91: " Peter Ujfalusi
2019-11-13 13:35   ` Ludovic.Desroches
2019-11-13  9:22 ` [PATCH 2/4] i2c: qup: " Peter Ujfalusi
2019-11-13  9:22 ` Peter Ujfalusi [this message]
2019-11-13  9:22 ` [PATCH 4/4] i2c: tegra: " Peter Ujfalusi
2019-11-14  7:05   ` Jon Hunter
2019-11-14  4:34 ` [PATCH 0/4] i2c: " Vinod Koul
2019-11-14 20:43 ` Wolfram Sang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191113092235.30440-4-peter.ujfalusi@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=agross@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=digetx@gmail.com \
    --cc=jonathanh@nvidia.com \
    --cc=ldewangan@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=ludovic.desroches@microchip.com \
    --cc=thierry.reding@gmail.com \
    --cc=vkoul@kernel.org \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).