mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
cd60d2b861ccc342c7203984d65e64d250df27e4
This patch fix the bug that if the property maximum-speed of dwc3 is configured to high-speed in DTS, gadget connection will be slow. Before gadget connection, it is necessary to write register DCFG to set maximum speed, if you don't, dwc3 will generate Erratic Error Event many times and results to slow connection. Actually, maximum speed will be set when Android layer call udc_bind_to_driver but it will fail when dwc3 runtime-suspended. For Rockchip SoCs, dwc3 will be suspended as long as USB cable is unplugged, so we add udc_set_speed before dwc3 runtime resume. Change-Id: I261c2cf9a36179a8d600f223fc8fd4757c7f622d Signed-off-by: Jianing Ren <jianing.ren@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%