diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-05 18:18:33 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-06 17:47:41 +0300 |
commit | 8fd9da750e76c321cd0a781c89a0d70cc399b22d (patch) | |
tree | fab82d1726a34fd7a70b5dfe954d9a4b58aece07 /sound/drivers/pcsp | |
parent | d39789912f150b66515ccda7ed00bba828a334d4 (diff) | |
download | linux-8fd9da750e76c321cd0a781c89a0d70cc399b22d.tar.xz |
ALSA: drivers: 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-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/pcsp')
-rw-r--r-- | sound/drivers/pcsp/pcsp_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c index 8f0f05bbc081..f91316bf01cb 100644 --- a/sound/drivers/pcsp/pcsp_lib.c +++ b/sound/drivers/pcsp/pcsp_lib.c @@ -352,8 +352,8 @@ int snd_pcsp_new_pcm(struct snd_pcsp *chip) snd_pcm_lib_preallocate_pages_for_all(chip->pcm, SNDRV_DMA_TYPE_CONTINUOUS, - snd_dma_continuous_data - (GFP_KERNEL), PCSP_BUFFER_SIZE, + NULL, + PCSP_BUFFER_SIZE, PCSP_BUFFER_SIZE); return 0; |