diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-05 16:18:36 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-06 15:47:41 +0100 |
commit | a1aef4881cf1781e3d5c5c07df1b8774d3fe2def (patch) | |
tree | 7ec8f1cd40fb003aa31ca22ddb349923995b230a /sound/sh/sh_dac_audio.c | |
parent | ALSA: rme32: Remove superfluous snd_dma_continuous_data() (diff) | |
download | linux-a1aef4881cf1781e3d5c5c07df1b8774d3fe2def.tar.xz linux-a1aef4881cf1781e3d5c5c07df1b8774d3fe2def.zip |
ALSA: sh: Remove superfluous snd_dma_continuous_data()
The recent change (commit 08422d2c559d: "ALSA: memalloc: Allow NULL
device for SNDRV_DMA_TYPE_CONTINUOUS type") made the PCM preallocation
helper accepting NULL as the device pointer for the default usage.
Drop the snd_dma_continuous_data() usage that became superfluous from
the callers.
Link: https://lore.kernel.org/r/20191105151856.10785-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh/sh_dac_audio.c')
-rw-r--r-- | sound/sh/sh_dac_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/sh/sh_dac_audio.c b/sound/sh/sh_dac_audio.c index ed877a138965..f9e36abc98ac 100644 --- a/sound/sh/sh_dac_audio.c +++ b/sound/sh/sh_dac_audio.c @@ -268,7 +268,7 @@ static int snd_sh_dac_pcm(struct snd_sh_dac *chip, int device) /* buffer size=48K */ snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, - snd_dma_continuous_data(GFP_KERNEL), + NULL, 48 * 1024, 48 * 1024); |