mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
7a2fe3e53292aa60dfca77d73fb45f30c80c6b02
The otg_sm_work will suspend the usb2 phy immediately if it detects disconnection from host. However, the usb2 controller(e.g. DWC2) may need to reinit registers and reset usb core after usb disconnect, and it needs to keep the usb2 phy stay in power on state to get utmi clk for these usb controller operation. We don't have a good synchronization mechanism to operate usb2 phy between usb2 phy driver and usb2 controller driver, so we delay 4s to suspend phy if detect otg device disconnect from host, this can make sure that usb2 controller completes reinitialization before suspend usb2 phy. Change-Id: I79288b8c7b141bb16e6d96d80cfee75f7558d2c0 Signed-off-by: William Wu <william.wu@rock-chips.com> Signed-off-by: Frank Wang <frank.wang@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%