All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: qce/dma - Use dma_request_chan() directly for channel request
@ 2019-11-13  9:09 Peter Ujfalusi
  2019-11-14  4:33 ` Vinod Koul
  2019-11-22 11:02 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Ujfalusi @ 2019-11-13  9:09 UTC (permalink / raw)
  To: herbert, davem; +Cc: vkoul, linux-crypto, linux-kernel

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/crypto/qce/dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/qce/dma.c b/drivers/crypto/qce/dma.c
index 0984a719144d..40a59214d2e1 100644
--- a/drivers/crypto/qce/dma.c
+++ b/drivers/crypto/qce/dma.c
@@ -12,11 +12,11 @@ int qce_dma_request(struct device *dev, struct qce_dma_data *dma)
 {
 	int ret;
 
-	dma->txchan = dma_request_slave_channel_reason(dev, "tx");
+	dma->txchan = dma_request_chan(dev, "tx");
 	if (IS_ERR(dma->txchan))
 		return PTR_ERR(dma->txchan);
 
-	dma->rxchan = dma_request_slave_channel_reason(dev, "rx");
+	dma->rxchan = dma_request_chan(dev, "rx");
 	if (IS_ERR(dma->rxchan)) {
 		ret = PTR_ERR(dma->rxchan);
 		goto error_rx;
-- 
Peter

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: qce/dma - Use dma_request_chan() directly for channel request
  2019-11-13  9:09 [PATCH] crypto: qce/dma - Use dma_request_chan() directly for channel request Peter Ujfalusi
@ 2019-11-14  4:33 ` Vinod Koul
  2019-11-22 11:02 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2019-11-14  4:33 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: herbert, davem, linux-crypto, linux-kernel

On 13-11-19, 11:09, Peter Ujfalusi wrote:
> dma_request_slave_channel_reason() is:
> #define dma_request_slave_channel_reason(dev, name) \
> 	dma_request_chan(dev, name)

Thanks Peter

Reviewed-by: Vinod Koul <vkoul@kernel.org>

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: qce/dma - Use dma_request_chan() directly for channel request
  2019-11-13  9:09 [PATCH] crypto: qce/dma - Use dma_request_chan() directly for channel request Peter Ujfalusi
  2019-11-14  4:33 ` Vinod Koul
@ 2019-11-22 11:02 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2019-11-22 11:02 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: davem, vkoul, linux-crypto, linux-kernel

On Wed, Nov 13, 2019 at 11:09:47AM +0200, Peter Ujfalusi wrote:
> 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/crypto/qce/dma.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-22 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13  9:09 [PATCH] crypto: qce/dma - Use dma_request_chan() directly for channel request Peter Ujfalusi
2019-11-14  4:33 ` Vinod Koul
2019-11-22 11:02 ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.