diff options
author | Peter Chen <peter.chen@freescale.com> | 2010-12-06 13:37:01 +0800 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2011-02-03 16:33:12 -0600 |
commit | e5e5317b6bb76515e438a1323608cc03a75a83fc (patch) | |
tree | 9bd79845a6e99cdcb12fc2889604e7a2594b3cf9 /drivers/mxc | |
parent | 12fbb20426381fa1a498b0d8c17f9be2198627b8 (diff) |
ENGR00135975 usb: Add protection for resume routine for udc driver
At usb otg mode, the fsl_udc_resume will be called at otg_set_host and
otg_set_peripheral. So we needs to add mutex_lock for fsl_udc_resume to
protect being called at the same time.
Besides, the fsl_udc_resume should not be called continuous twice, or the
udc->suspended will be wrong
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'drivers/mxc')
0 files changed, 0 insertions, 0 deletions