projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b48b3b
)
ASoC: xlnx: fix up for snd_pcm_lib_preallocate_pages_for_all() API change
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Fri, 8 Feb 2019 02:18:23 +0000
(13:18 +1100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 8 Feb 2019 13:23:54 +0000
(14:23 +0100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/xilinx/xlnx_formatter_pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/xilinx/xlnx_formatter_pcm.c
b/sound/soc/xilinx/xlnx_formatter_pcm.c
index 97177d35652e482f94bb352dd73c350e426e8382..dc8721f4f56bf4620c25013bc8e7276cda9a6217 100644
(file)
--- a/
sound/soc/xilinx/xlnx_formatter_pcm.c
+++ b/
sound/soc/xilinx/xlnx_formatter_pcm.c
@@
-536,10
+536,11
@@
static int xlnx_formatter_pcm_new(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd,
DRV_NAME);
-
return
snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
+ snd_pcm_lib_preallocate_pages_for_all(rtd->pcm,
SNDRV_DMA_TYPE_DEV, component->dev,
xlnx_pcm_hardware.buffer_bytes_max,
xlnx_pcm_hardware.buffer_bytes_max);
+ return 0;
}
static const struct snd_pcm_ops xlnx_formatter_pcm_ops = {