diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-11-05 16:18:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-06 15:47:41 +0100 |
commit | 0af0a4fec0c48d591a3788cb6c08b21a17201dd3 (patch) | |
tree | 82abc852c4dfb50b64b7af52d2885ff8e711728d /sound/usb/line6 | |
parent | 0382e4e18fafcaea75ffab85838ef2110fac1668 (diff) | |
download | linux-stable-0af0a4fec0c48d591a3788cb6c08b21a17201dd3.tar.gz linux-stable-0af0a4fec0c48d591a3788cb6c08b21a17201dd3.tar.bz2 linux-stable-0af0a4fec0c48d591a3788cb6c08b21a17201dd3.zip |
ALSA: usb: 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-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6')
-rw-r--r-- | sound/usb/line6/pcm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/usb/line6/pcm.c b/sound/usb/line6/pcm.c index f70211e6b174..9c437c716cfd 100644 --- a/sound/usb/line6/pcm.c +++ b/sound/usb/line6/pcm.c @@ -502,9 +502,7 @@ static int snd_line6_new_pcm(struct usb_line6 *line6, struct snd_pcm **pcm_ret) /* pre-allocation of buffers */ snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, - snd_dma_continuous_data - (GFP_KERNEL), 64 * 1024, - 128 * 1024); + NULL, 64 * 1024, 128 * 1024); return 0; } |