summaryrefslogtreecommitdiffstats
path: root/sound/pci/lola/lola.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-05-03 16:41:02 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-03 16:41:02 +0200
commit333ff3971f374d9a057fd6d1492a2ef78989974d (patch)
tree194f15d828c478ff3dfe22e597cf202383fd2ddd /sound/pci/lola/lola.h
parenta426c787233c87587b6cac797ac840162bdb09c2 (diff)
downloadlinux-333ff3971f374d9a057fd6d1492a2ef78989974d.tar.gz
linux-333ff3971f374d9a057fd6d1492a2ef78989974d.tar.bz2
linux-333ff3971f374d9a057fd6d1492a2ef78989974d.zip
ALSA: lola - Use a single BDL
Use a single BDL for both buffers instead of allocating for each. Also a few tune-up to avoid the stream stalls in the PCM code and the prelimianry work for SG-buffer support are added, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lola/lola.h')
-rw-r--r--sound/pci/lola/lola.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/lola/lola.h b/sound/pci/lola/lola.h
index 23831a1a95ad..1041b0f0e20f 100644
--- a/sound/pci/lola/lola.h
+++ b/sound/pci/lola/lola.h
@@ -299,7 +299,6 @@ struct lola_stream {
unsigned int bufsize;
unsigned int period_bytes;
unsigned int frags;
- struct snd_dma_buffer bdl; /* BDL buffer */
/* format + channel setup */
unsigned int format_verb;
@@ -314,6 +313,7 @@ struct lola_stream {
struct lola_pcm {
unsigned int num_streams;
+ struct snd_dma_buffer bdl; /* BDL buffer */
struct lola_stream streams[MAX_STREAM_COUNT];
};