linux_dsm_epyc7002/drivers/usb/gadget/udc
Sylvain Rochet bb0a203c3a usb: gadget: atmel_usba_udc: Request an auto disabled Vbus signal IRQ
Vbus IRQ handler needs a started UDC driver to work because it uses
udc->driver, which is set by the UDC start handler. The previous way
chosen was to return from interrupt if udc->driver is NULL using a
spinlock around the check.

We now request an auto disabled (IRQ_NOAUTOEN) Vbus signal IRQ instead
of an auto enabled IRQ followed by disable_irq(). This way we remove the
very small timeslot of enabled IRQ which existed previously between
request() and disable(). We don't need anymore to check if udc->driver
is NULL in IRQ handler.

Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Suggested-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-03-11 10:19:36 -05:00
..
bdc usb: gadget: bdc_udc: set value for common is_selfpowered 2015-01-29 10:32:54 -06:00
amd5536udc.c usb: gadget: amd5536udc: use udc-core's reset notifier 2014-11-10 17:19:37 -06:00
amd5536udc.h
at91_udc.c ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
at91_udc.h ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
atmel_usba_udc.c usb: gadget: atmel_usba_udc: Request an auto disabled Vbus signal IRQ 2015-03-11 10:19:36 -05:00
atmel_usba_udc.h usb: gadget: atmel_usba: Cache INT_ENB register value 2015-01-12 12:13:29 -06:00
bcm63xx_udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
dummy_hcd.c usb: gadget: dummy_hcd: set value for common is_selfpowered 2015-01-29 10:33:01 -06:00
fotg210-udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fotg210.h
fsl_mxc_udc.c
fsl_qe_udc.c usb: gadget: cleanup on stack DECLARE_COMPLETIONs 2015-01-12 12:13:27 -06:00
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: fsl_udc_core: set value for common is_selfpowered 2015-01-29 10:34:25 -06:00
fsl_usb2_udc.h
fusb300_udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fusb300_udc.h usb: gadget: fusb300_udc.h: Fix typo in include guard 2014-09-03 09:15:57 -05:00
gadget_chips.h
goku_udc.c usb: gadget: remove unnecessary 'driver' argument 2014-11-03 10:01:16 -06:00
goku_udc.h
gr_udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
gr_udc.h usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests 2014-09-16 10:01:45 -05:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
lpc32xx_udc.c usb: gadget: lpc32xx_udc: use common is_selfpowered 2015-01-29 10:34:18 -06:00
m66592-udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
m66592-udc.h
Makefile usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC 2014-11-18 08:47:23 -06:00
mv_u3d_core.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
mv_u3d.h
mv_udc_core.c usb: gadget: mv_udc_core: delete pullup operation at .udc_start 2015-01-12 12:24:29 -06:00
mv_udc.h
net2272.c usb: gadget: net2272: use common is_selfpowered 2015-01-29 10:35:27 -06:00
net2272.h usb: gadget: net2272: use common is_selfpowered 2015-01-29 10:35:27 -06:00
net2280.c usb: gadget: net2280: silence sparse warning 2015-03-10 15:33:31 -05:00
net2280.h usb: gadget: net2280: remove fiforegs as it is unused 2015-03-10 15:33:30 -05:00
omap_udc.c usb: gadget: omap_udc: set value for common is_selfpowered 2015-01-29 10:35:04 -06:00
omap_udc.h
pch_udc.c usb: gadget: pch_udc: set value for common is_selfpowered 2015-01-29 10:35:36 -06:00
pxa25x_udc.c usb: gadget: pxa27x_udc: delete pullup operation at .udc_start and .udc_stop 2015-01-12 12:24:22 -06:00
pxa25x_udc.h
pxa27x_udc.c usb: gadget: udc: pxa27x_udc: Remove use of seq_printf return value 2015-03-10 15:33:16 -05:00
pxa27x_udc.h usb: gadget: pxa27x_udc: transfer mach_info into pxa_udc 2014-11-03 10:00:57 -06:00
r8a66597-udc.c usb: gadget: r8a66597-udc: set value for common is_selfpowered 2015-01-29 10:35:13 -06:00
r8a66597-udc.h
s3c2410_udc.c usb: gadget: s3c2410_udc: set value for common is_selfpowered 2015-01-29 10:35:23 -06:00
s3c2410_udc.h
s3c-hsudc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
udc-core.c usb: udc-core: add is_selfpowered sys entry 2015-01-29 10:35:48 -06:00
udc-xilinx.c xilinx usb2 gadget: get rid of incredibly annoying compile warning 2015-02-11 10:52:56 -08:00