mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
f7a26c41a7a58c432222c496824c2b1a4387922d
Because USB OTG id irq is disabled during system suspend and enabled after resume, so the usb2 phy doesn't notice any id status change upon resume. It may cause two issues: 1. Plug in OTG cable and USB device when system enter suspend, it will fail to detect the OTG cable and USB device after resume. 2. Plug out OTG cable and USB device when system enter suspend, and then connect USB to PC or USB charger after resume, it will fail to detect USB charge type. This patch restores the OTG id status before enter suspend, and check the id status upon resume, and set the extcon state and vbus if id status has changed. Change-Id: Iaca14841cc287e7d82e1cffd64ff18bba86d3ba4 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%