diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 20:59:21 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-19 22:58:08 +0200 |
commit | b2233d97a0e64aa1f0557ffb409c957748ae7f3a (patch) | |
tree | c32250cec2955d94c2a05010151c19fb3bc6884c /sound/usb/line6/pcm.h | |
parent | c5a905d3122a501c014b1ba679d3a6d21f2b5c7b (diff) | |
download | lwn-b2233d97a0e64aa1f0557ffb409c957748ae7f3a.tar.gz lwn-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.h | 2 |
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 |