diff options
author | Peter Chen <peter.chen@freescale.com> | 2010-12-06 13:37:01 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2010-12-07 12:40:01 +0800 |
commit | 39a4339eb829aef051956e9ababf1c0c47a0b559 (patch) | |
tree | 6816e7d1356a90b44973909a7238ecd9976520aa /include | |
parent | 7fe39ce482ae515dfece872608978553a3ff8090 (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 'include')
0 files changed, 0 insertions, 0 deletions