commit | 74adceb3566ba8187cd4e42144ac8201b5825aab | [log] [tgz] |
---|---|---|
author | Chethan T N <[email protected]> | Fri May 25 02:07:52 2018 |
committer | ChromeOS Commit Bot <[email protected]> | Fri Jun 15 23:35:08 2018 |
tree | 084f5fccc3735639a12c9d15bbe353b74dd62ab7 | |
parent | 1067eda2effd1936b56fa82ccb95f66e66a26e06 [diff] |
CHROMIUM: Bluetooth: btusb: Avoid race condition during controller recovery Observed race condition during controller recovery mechanism resulting the controller not responding to the reset command. To avoid such race condition need a delay of 30ms soon after the USB re-enumeration and before sending the Reset command which shall allow controller to completely recover and process the Reset command. BUG=b:64035404 TEST=Magic tethering, P0 and P1 santiy test cases, kernel-boot log Change-Id: Ifbc387d4377bc79081244d444d45ba6effc95f23 Signed-off-by: Chethan T N <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/1072993 Commit-Ready: Miao-chen Chou <[email protected]> Tested-by: Chethan Tumkur Narayan <[email protected]> Tested-by: Miao-chen Chou <[email protected]> Reviewed-by: Chethan Tumkur Narayan <[email protected]> Reviewed-by: Miao-chen Chou <[email protected]> (cherry picked from commit 2796b37ceaa0e4a0959690564b8977dc3e3c4d3d) Reviewed-on: https://chromium-review.googlesource.com/1102781 Trybot-Ready: Miao-chen Chou <[email protected]> Commit-Queue: Miao-chen Chou <[email protected]>