WSL2-Linux-Kernel/drivers/usb/gadget/udc
Jonas Bonn 8f6707bf2b usb: gadget: atmel: tie wake lock to running clock
If the USB device is connected to a host, the CPU cannot be suspended or
else the USB device appears to be disconnected from the host's point of
view.  Only after a "USB suspend" state has been entered (as set by the
host) or the host is disconnected can the system safely be suspended: in
both these states, the clock is stopped.  As such, this patch associates
a "wake lock" with the running clock of the UDC to keep the system awake
as long as the host maintains the USB connection active.

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
CC: Cristian Birsan <cristian.birsan@microchip.com>
CC: Felipe Balbi <balbi@kernel.org>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Nicolas Ferre <nicolas.ferre@microchip.com>
CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
CC: Ludovic Desroches <ludovic.desroches@microchip.com>
CC: linux-arm-kernel@lists.infradead.org
CC: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-05-03 09:13:49 +03:00
..
aspeed-vhub usb: introduce usb_ep_type_string() function 2019-05-03 09:13:48 +03:00
bdc USB: changes for v5.1 merge window 2019-02-15 09:08:57 +01:00
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile
amd5536udc.h
amd5536udc_pci.c
at91_udc.c
at91_udc.h
atmel_usba_udc.c usb: gadget: atmel: tie wake lock to running clock 2019-05-03 09:13:49 +03:00
atmel_usba_udc.h usb: gadget: atmel: support USB suspend 2019-05-03 09:13:49 +03:00
bcm63xx_udc.c
core.c USB: gadget: Improve kerneldoc for usb_ep_dequeue() 2019-02-06 08:37:16 +02:00
dummy_hcd.c usb: introduce usb_ep_type_string() function 2019-05-03 09:13:48 +03:00
fotg210-udc.c fotg210-udc: pass struct device to DMA API functions 2019-02-11 15:30:14 +02:00
fotg210.h
fsl_mxc_udc.c
fsl_qe_udc.c
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: fsl_udc_core: fixup struct_udc_setup documentation 2018-10-02 10:43:12 +03:00
fsl_usb2_udc.h
fusb300_udc.c
fusb300_udc.h
goku_udc.c
goku_udc.h
gr_udc.c
gr_udc.h
lpc32xx_udc.c usb: gadget: udc: lpc32xx: rework interrupt handling 2019-05-03 09:13:48 +03:00
m66592-udc.c
m66592-udc.h
mv_u3d.h
mv_u3d_core.c
mv_udc.h
mv_udc_core.c usb: gadget: udc: Remove unnecessary parentheses 2018-10-02 10:30:07 +03:00
net2272.c USB: UDC: net22{80,72}: remove mistaken test of req->zero 2019-05-03 09:13:47 +03:00
net2272.h
net2280.c USB: UDC: net22{80,72}: remove mistaken test of req->zero 2019-05-03 09:13:47 +03:00
net2280.h
omap_udc.c USB: omap_udc: fix rejection of out transfers when DMA is used 2018-11-26 12:38:03 +02:00
omap_udc.h
pch_udc.c PCI: Move Rohm Vendor ID to generic list 2019-02-01 17:24:52 -06:00
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
pxa27x_udc.h
r8a66597-udc.c
r8a66597-udc.h
renesas_usb3.c usb: gadget: udc: renesas_usb3: add support for r8a774c0 2019-01-28 12:51:30 +02:00
s3c-hsudc.c
s3c2410_udc.c USB: gadget: udc: s3c2410_udc: convert to DEFINE_SHOW_ATTRIBUTE 2018-12-07 08:12:15 +02:00
s3c2410_udc.h
snps_udc_core.c usb: gadget: udc: reduce indentation 2019-01-28 12:51:30 +02:00
snps_udc_plat.c
trace.c
trace.h
udc-xilinx.c usb: gadget: fix spelling mistakeis "[En]queing" -> "[En]queuing" 2018-10-02 10:28:08 +03:00