diff options
author | Felipe F. Tonello <eu@felipetonello.com> | 2015-12-01 18:31:02 +0000 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-12-16 10:07:29 -0600 |
commit | e1e3d7ec5da32af3bded733a61c248d7db0b4e34 (patch) | |
tree | a4cf0c8bb87df506e28d48c5ed3a5c03d76402b5 /drivers/video/backlight | |
parent | f0f1b8cac4d8d973e95f25d9ea132775fb43c5f4 (diff) | |
download | op-kernel-dev-e1e3d7ec5da32af3bded733a61c248d7db0b4e34.zip op-kernel-dev-e1e3d7ec5da32af3bded733a61c248d7db0b4e34.tar.gz |
usb: gadget: f_midi: pre-allocate IN requests
This patch introduces pre-allocation of IN endpoint USB requests. This
improves on latency (requires no usb request allocation on transmit) and avoid
several potential probles on allocating too many usb requests (which involves
DMA pool allocation problems).
This implementation also handles better multiple MIDI Gadget ports, always
processing the last processed MIDI substream if the last USB request wasn't
enought to handle the whole stream.
Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/video/backlight')
0 files changed, 0 insertions, 0 deletions