aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/line6/pcm.h
diff options
context:
space:
mode:
authorAndrej Krutak <dev@andree.sk>2016-09-18 20:59:21 +0200
committerTakashi Iwai <tiwai@suse.de>2016-09-19 22:58:08 +0200
commitb2233d97a0e64aa1f0557ffb409c957748ae7f3a (patch)
treec32250cec2955d94c2a05010151c19fb3bc6884c /sound/usb/line6/pcm.h
parentALSA: compress: fix some missing and misplaced \n in messages (diff)
downloadlinux-dev-b2233d97a0e64aa1f0557ffb409c957748ae7f3a.tar.xz
linux-dev-b2233d97a0e64aa1f0557ffb409c957748ae7f3a.zip
ALSA: line6: Enable different number of URBs for frame transfers
This basically changes LINE6_ISO_BUFFERS constant to a configurable iso_buffers property. Signed-off-by: Andrej Krutak <dev@andree.sk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/pcm.h')
-rw-r--r--sound/usb/line6/pcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/pcm.h b/sound/usb/line6/pcm.h
index 508410adbd51..e983880703ea 100644
--- a/sound/usb/line6/pcm.h
+++ b/sound/usb/line6/pcm.h
@@ -90,7 +90,7 @@ struct line6_pcm_properties {
struct line6_pcm_stream {
/* allocated URBs */
- struct urb *urbs[LINE6_ISO_BUFFERS];
+ struct urb **urbs;
/* Temporary buffer;
* Since the packet size is not known in advance, this buffer is