android_kernel_samsung_a7y1.../drivers/usb
Alexandre Belloni e2e3cf4915 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
[ Upstream commit fbc318afadd6e7ae2252d6158cf7d0c5a2132f7d ]

Gadget drivers may queue request in interrupt context. This would lead to
a descriptor allocation in that context. In that case we would hit
BUG_ON(in_interrupt()) in __get_vm_area_node.

Also remove the unnecessary cast.

Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Tested-by: James Grant <jamesg@zaltys.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 19:17:49 +02:00
..
atm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
c67x00 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
chipidea usb: chipidea: udc: workaround for endpoint conflict issue 2020-04-06 19:16:16 +02:00
class A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
common A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
core USB: Fix chipmunk-like voice when using Logitech C270 for recording audio. 2020-04-06 19:03:26 +02:00
dwc2 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc3 usb: dwc3: Fix default lpm_nyet_threshold value 2020-04-06 16:43:04 +02:00
early A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gadget usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC 2020-04-06 19:17:49 +02:00
host usb: xhci: avoid null pointer deref when bos field is NULL 2020-04-06 18:21:06 +02:00
image A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
isp1760 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
manager A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
misc USB: rio500: fix memory leak in close after disconnect 2020-04-06 18:21:16 +02:00
mon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
musb A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
notify A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
phy A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
renesas_usbhs usb: renesas_usbhs: gadget: fix unused-but-set-variable warning 2020-04-06 11:37:21 +02:00
serial USB: serial: option: add Telit 0x1260 and 0x1261 compositions 2020-04-06 19:03:34 +02:00
storage USB: usb-storage: Add new ID to ums-realtek 2020-04-06 19:03:28 +02:00
typec A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usbip usb: usbip: fix isoc packet num validation in get_pipe 2020-04-06 16:42:34 +02:00
wusbcore A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
README A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usb-skeleton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.