aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/usb
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2017-01-03 21:19:23 -0500
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-24 04:04:21 -0500
commite92b9d449d0490800160bfeb5ee1175a02979f47 (patch)
treee6a52e9d53ab3e42e90979aea3473f0ec3935015 /Documentation/usb
parentec33efe28f9f87e51cc79ce060ae0101eedd5a19 (diff)
usb: gadget: uac2: add req_number as parameter
There are only two requests for uac2, it may not be enough at high loading system which usb interrupt handler can't be serviced on time, then the data will be lost since it is isoc transfer for audio. In this patch, we introduce a parameter for the number for usb request, and the user can override it if current number for request is not enough for his/her use case. Besides, update this parameter for legacy audio gadget and documentation. Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'Documentation/usb')
-rw-r--r--Documentation/usb/gadget-testing.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/usb/gadget-testing.txt b/Documentation/usb/gadget-testing.txt
index 581960574889..fb0cc4df1765 100644
--- a/Documentation/usb/gadget-testing.txt
+++ b/Documentation/usb/gadget-testing.txt
@@ -632,6 +632,8 @@ The uac2 function provides these attributes in its function directory:
632 p_chmask - playback channel mask 632 p_chmask - playback channel mask
633 p_srate - playback sampling rate 633 p_srate - playback sampling rate
634 p_ssize - playback sample size (bytes) 634 p_ssize - playback sample size (bytes)
635 req_number - the number of pre-allocated request for both capture
636 and playback
635 637
636The attributes have sane default values. 638The attributes have sane default values.
637 639