commit | fddeb0fb01ff5dabe07e50b9474d5f1e212f9ac0 | [log] [tgz] |
---|---|---|
author | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | Thu Sep 26 17:26:13 2013 +0530 |
committer | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | Thu Sep 26 20:02:40 2013 +0530 |
tree | 94aca26935409a91cce62b7498d92aed84380b82 | |
parent | af6b1f2cdc1230a4162534e2a36f6966eb2fbd98 [diff] |
USB: dwc3_otg: Retry if vbus regulator get fail with -EPROBE_DEFER As part of ID clear, OTG driver tries to start host mode. This might fail if regulator driver is not ready and returns -EPROBE_DEFER for VBUS regulator_get. Hence schedule sm_work for one second delay in case of -EPROBEDEFER so that it can retry start_host again. CRs-Fixed: 546709 Change-Id: Iab443e7984619d474b15b695fbf5b7639a41ddd0 Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>