diff options
author | Peter Chen <peter.chen@nxp.com> | 2017-01-04 05:19:23 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-24 12:04:21 +0300 |
commit | e92b9d449d0490800160bfeb5ee1175a02979f47 (patch) | |
tree | e6a52e9d53ab3e42e90979aea3473f0ec3935015 /Documentation/usb/gadget-testing.txt | |
parent | ec33efe28f9f87e51cc79ce060ae0101eedd5a19 (diff) | |
download | linux-e92b9d449d0490800160bfeb5ee1175a02979f47.tar.xz |
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/gadget-testing.txt')
-rw-r--r-- | Documentation/usb/gadget-testing.txt | 2 |
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: p_chmask - playback channel mask p_srate - playback sampling rate p_ssize - playback sample size (bytes) + req_number - the number of pre-allocated request for both capture + and playback The attributes have sane default values. |