93e765523b
commit 73ea73affe8622bdf292de898da869d441da6a9d upstream.
The KOBJ_CHANGE uevent is sent before gadget unbind is actually
executed, resulting in inaccurate uevent emitted at incorrect timing
(the uevent would have USB_UDC_DRIVER variable set while it would
soon be removed).
Move the KOBJ_CHANGE uevent to the end of the unbind function so that
uevent is sent only after the change has been made.
Fixes:
|
||
---|---|---|
.. | ||
aspeed-vhub | ||
bdc | ||
Kconfig | ||
Makefile | ||
amd5536udc.h | ||
amd5536udc_pci.c | ||
at91_udc.c | ||
at91_udc.h | ||
atmel_usba_udc.c | ||
atmel_usba_udc.h | ||
bcm63xx_udc.c | ||
core.c | ||
dummy_hcd.c | ||
fotg210-udc.c | ||
fotg210.h | ||
fsl_qe_udc.c | ||
fsl_qe_udc.h | ||
fsl_udc_core.c | ||
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 | ||
m66592-udc.c | ||
m66592-udc.h | ||
max3420_udc.c | ||
mv_u3d.h | ||
mv_u3d_core.c | ||
mv_udc.h | ||
mv_udc_core.c | ||
net2272.c | ||
net2272.h | ||
net2280.c | ||
net2280.h | ||
omap_udc.c | ||
omap_udc.h | ||
pch_udc.c | ||
pxa25x_udc.c | ||
pxa25x_udc.h | ||
pxa27x_udc.c | ||
pxa27x_udc.h | ||
r8a66597-udc.c | ||
r8a66597-udc.h | ||
renesas_usb3.c | ||
s3c-hsudc.c | ||
s3c2410_udc.c | ||
s3c2410_udc.h | ||
s3c2410_udc_regs.h | ||
snps_udc_core.c | ||
snps_udc_plat.c | ||
tegra-xudc.c | ||
trace.c | ||
trace.h | ||
udc-xilinx.c |