mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
fe8c3cd3114f01e446e9a4daf0a132fd46ee6545
In current code, the connect detective event will be send before the connect state of controller change. The event is sent when receive the first setup packet and the connect state of controller is changed when receive set address command. So if disconnect interrupt trigger between the first setup packet and set address command, the disconnect process will not be done, while the application state has been changed and keep in connected. As a result, the UI may still show the USB connect option event if the device has been disconnect from PC. This patch send the connect uevent when get descriptor of configuration which follow set address command to make sure the application state change after controller. Change-Id: Icf2124327db93687b4b644672edb0dbecc8f127a Signed-off-by: Meng Dongyang <daniel.meng@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%