summaryrefslogtreecommitdiffstats
path: root/sound/usb/6fire/pcm.h
diff options
context:
space:
mode:
authorTorsten Schenk <torsten.schenk@zoho.com>2013-08-11 11:11:19 +0200
committerTakashi Iwai <tiwai@suse.de>2013-08-12 11:42:28 +0200
commit5ece263f1d93fba8d992e67e3ab8a71acf674db9 (patch)
tree038670213da0df88ac884a8e48bbbd90eb1bb330 /sound/usb/6fire/pcm.h
parentdb8a38e5063a4daf61252e65d47ab3495c705f4c (diff)
downloadlinux-5ece263f1d93fba8d992e67e3ab8a71acf674db9.tar.bz2
ALSA: 6fire: make buffers DMA-able (pcm)
Patch makes pcm buffers DMA-able by allocating each one separately. Signed-off-by: Torsten Schenk <torsten.schenk@zoho.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/6fire/pcm.h')
-rw-r--r--sound/usb/6fire/pcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/6fire/pcm.h b/sound/usb/6fire/pcm.h
index 9b01133ee3fe..f5779d6182c6 100644
--- a/sound/usb/6fire/pcm.h
+++ b/sound/usb/6fire/pcm.h
@@ -32,7 +32,7 @@ struct pcm_urb {
struct urb instance;
struct usb_iso_packet_descriptor packets[PCM_N_PACKETS_PER_URB];
/* END DO NOT SEPARATE */
- u8 buffer[PCM_N_PACKETS_PER_URB * PCM_MAX_PACKET_SIZE];
+ u8 *buffer;
struct pcm_urb *peer;
};