mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ac360121408cbb1482076a113d059028a3d744e8
Android userspace UsbDeviceManager relies on the uevents generated by the composition driver to generate user notifications. This CL adds uevents to be generated whenever USB changes its state i.e. connected, disconnected, configured. This CL also intercepts the setup requests from the usb_core anb routes it to the specific usb function if required. Change-Id: I112662728edcc404e3f08fa0c2d9e4f7b17e1b43 Bug: 68755607 Bug: 120441124 [badhri: Migrate to using udc uevents from upstream sysfs.] Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> [AmitP: Folded following android-4.9 commit changes into this patch9214c899f7("ANDROID: usb: gadget: configfs: handle gadget reset request for android")] Signed-off-by: Amit Pundir <amit.pundir@linaro.org> [astrachan: Folded change 5c899c9fd75d ("ANDROID: usb: gadget: configfs: fix null ptr in android_disconnect") into this patch] Signed-off-by: Alistair Strachan <astrachan@google.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit7a160e2b96https://android.googlesource.com/kernel/common)
Merge tag 'mm-hotfixes-stable-2022-12-10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
…
…
…
…
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%