mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
a6a4762e0c466e4b5f31387ecd78c0d96cb1b1fb
Currently, the husb311 driver enable irq wakeup by default, it can wakeup system if the vbus or the CC state changes. However, if the Type-C port data role is DFP and the vbus is power on, after enter deep sleep, the vbus maybe power off for low power management, this cause system resume immediately by husb311 irq. Actually, the husb311 vbus irq wakeup is no need if the vbus state changes for DFP mode. This patch only enable irq wakeup if the vbus is power off, it can support husb311 irq wakeup system if the Type-C connect with Type-C charger or Type-C DFP. And disable husb311 irq if the vbus is power on, it can avoid the tcpm_state_machine_work run before the husb311_pm_resume during system resume. Signed-off-by: William Wu <william.wu@rock-chips.com> Change-Id: I62d35b10b6b2375125b32101426ea141f709ed91
…
…
…
…
…
…
…
…
…
…
…
…
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.
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%