mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
95ef3c4d122e3dd0269e6b5381926bdcd12029a3
The commite6f2f6d63e("usb: dwc2: power on/off phy for otg mode") aimed to control phy power for otg mode, but it also introduced a new problem, so we fix it. This patch keep phy power on for otg if current mode is host during dwc2 probe, otherwise the enumeration will fail with the following error log: Cannot enable. Maybe the USB cable is bad? Cannot enable. Maybe the USB cable is bad? attempt power cycle Cannot enable. Maybe the USB cable is bad? Cannot enable. Maybe the USB cable is bad? unable to enumerate USB device Fixes:e6f2f6d63e("usb: dwc2: power on/off phy for otg mode") Change-Id: I17a4cab6f0337fdc0923989aea8613bfbe1a9e9b Signed-off-by: Feng Mingli <fml@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%