OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce21401
)
ASoC: dmaengine: Use dma_request_chan() directly for channel request
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Wed, 13 Nov 2019 09:54:44 +0000
(11:54 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 15 Nov 2019 12:02:58 +0000
(12:02 +0000)
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>
Link:
https://lore.kernel.org/r/20191113095445.3211-2-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-generic-dmaengine-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-generic-dmaengine-pcm.c
b/sound/soc/soc-generic-dmaengine-pcm.c
index
f4c7552
..
a428ff3
100644
(file)
--- a/
sound/soc/soc-generic-dmaengine-pcm.c
+++ b/
sound/soc/soc-generic-dmaengine-pcm.c
@@
-387,7
+387,7
@@
static int dmaengine_pcm_request_chan_of(struct dmaengine_pcm *pcm,
name = dmaengine_pcm_dma_channel_names[i];
if (config && config->chan_names[i])
name = config->chan_names[i];
- chan = dma_request_
slave_channel_reaso
n(dev, name);
+ chan = dma_request_
cha
n(dev, name);
if (IS_ERR(chan)) {
if (PTR_ERR(chan) == -EPROBE_DEFER)
return -EPROBE_DEFER;