mirror of https://gitee.com/openkylin/linux.git
22835b807e
now that no UDC driver relies on the extra 'driver' argument to ->udc_stop(), we can safely remove it. This commit is based on previous work by Robert Baldyga <r.baldyga@samsung.com> which can be found at [1]; however that patch turned out to have a high probability of regressing many UDC drivers because of a blind search & replace s/driver/$udc->driver/ which caused the 'driver' argument to stop_activity() to be a valid non-NULL pointer when it should be NULL, thus causing UDCs to mistakenly call gadget driver's ->disconnect() callback. [1] http://markmail.org/message/x5zneg4xea4zntab Acked-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bits.h | ||
ci.h | ||
ci_hdrc_imx.c | ||
ci_hdrc_imx.h | ||
ci_hdrc_msm.c | ||
ci_hdrc_pci.c | ||
ci_hdrc_zevio.c | ||
core.c | ||
debug.c | ||
debug.h | ||
host.c | ||
host.h | ||
otg.c | ||
otg.h | ||
otg_fsm.c | ||
otg_fsm.h | ||
udc.c | ||
udc.h | ||
usbmisc_imx.c |