diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-01-08 16:12:25 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-01-09 07:32:10 +0100 |
commit | 47d98c026ef9a9888c36f3c4f26b81f548a0ca86 (patch) | |
tree | 11601d8b6644c5a2dd75469978151d51ef6fb7e9 /include/sound/pcm.h | |
parent | ALSA: Remove memory accounting in memalloc helper (diff) | |
download | linux-47d98c026ef9a9888c36f3c4f26b81f548a0ca86.tar.xz linux-47d98c026ef9a9888c36f3c4f26b81f548a0ca86.zip |
ALSA: Remove memory reservation code from memalloc helper
Nowadays we have CMA for obtaining the contiguous memory pages
efficiently. Let's kill the old kludge for reserving the memory pages
for large buffers. It was rarely useful (only for preserving pages
among module reloading or a little help by an early boot scripting),
used only by a couple of drivers, and yet it gives too much ugliness
than its benefit.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/pcm.h')
-rw-r--r-- | include/sound/pcm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index 84b10f9a2832..fe6ca400b9ad 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -381,7 +381,6 @@ struct snd_pcm_substream { struct pm_qos_request latency_pm_qos_req; /* pm_qos request */ size_t buffer_bytes_max; /* limit ring buffer size */ struct snd_dma_buffer dma_buffer; - unsigned int dma_buf_id; size_t dma_max; /* -- hardware operations -- */ const struct snd_pcm_ops *ops; |