451b15ed13
The user may call role_store() when driver is handling
ci_handle_id_switch() which is triggerred by otg event or power lost
event. Unfortunately, the controller may go into chaos in this case.
Fix this by protecting it with mutex lock.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bits.h | ||
ci.h | ||
ci_hdrc_imx.c | ||
ci_hdrc_imx.h | ||
ci_hdrc_msm.c | ||
ci_hdrc_pci.c | ||
ci_hdrc_tegra.c | ||
ci_hdrc_usb2.c | ||
core.c | ||
debug.c | ||
host.c | ||
host.h | ||
otg.c | ||
otg.h | ||
otg_fsm.c | ||
otg_fsm.h | ||
trace.c | ||
trace.h | ||
udc.c | ||
udc.h | ||
ulpi.c | ||
usbmisc_imx.c |