mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
432a0d89ddeaffe2ca6a7ffd4d6b629178a5b868
This patch reset the dwc3 controller at the beginning of probe. Without this patch, it may fail in enumeration phase if the dwc3 has been initialized and used before kernel. Typically, we use usb to download image and boot directly on RV1126 board, it will fail to connect to host with the following error log: [2.029506] read descriptors [2.029597] read strings [3.038749] dwc3 ffd00000.dwc3: unexpected direction for Data Phase [3.077445] android_work: did not send uevent (0 0 (null)) [3.282586] vendor storage:20190527 ret = -1 [3.335505] usb0: HOST MAC 16:ba:52:5a:90:28 [3.335566] usb0: MAC 6a:73:d9:da:da:ce [3.335597] configfs-gadget gadget: uvc_function_bind [5.052086] dwc3 ffd00000.dwc3: unexpected direction for Data Phase [5.052431] dwc3 ffd00000.dwc3: unexpected direction for Data Phase Change-Id: I7eede4685a26cff5fc9460233291757edf18e430 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%