diff options
author | Torsten Schenk <torsten.schenk@zoho.com> | 2013-08-11 13:11:19 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-12 13:42:28 +0400 |
commit | 5ece263f1d93fba8d992e67e3ab8a71acf674db9 (patch) | |
tree | 038670213da0df88ac884a8e48bbbd90eb1bb330 /sound/usb/6fire/pcm.h | |
parent | db8a38e5063a4daf61252e65d47ab3495c705f4c (diff) | |
download | linux-5ece263f1d93fba8d992e67e3ab8a71acf674db9.tar.xz |
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.h | 2 |
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; }; |