mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
bd28ce36dd8d68c51beea2f7a7463e535e581cd4
The current code does the whole tx fifos resize in the function dwc3_gadget_ep_enable() only when the ep-in is isoc type and the maxpacket >= 1024, for example, if the usb gadget is configured as UAC + RNDIS + UVC + ADB, then the tx fifos resize is done when uvc streaming on, there maybe a risk that the in endpoints of the uac/rndis/adb are using their tx fifos to transfer data while do the whole tx fifos resize, if this case occurs, the dwc3 controller will run into abnormal and unrecoverable state. To fix this issue, we must make sure that there are not any in endpoints using tx fifos to transfer data while do the whole tx fifos resize. The patch does the tx fifos resize when the connect done event occurs during usb gadget enumeration phase. Change-Id: Ia793fd7895b36e771ad654e583fa3fd7bf29aac6 Signed-off-by: William Wu <william.wu@rock-chips.com>
…
…
…
…
…
…
…
…
…
…
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%