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 <chethan.tumkur.narayan@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/1072993
Commit-Ready: Miao-chen Chou <mcchou@chromium.org>
Tested-by: Chethan Tumkur Narayan <chethan.tumkur.narayan@intel.corp-partner.google.com>
Tested-by: Miao-chen Chou <mcchou@chromium.org>
Reviewed-by: Chethan Tumkur Narayan <chethan.tumkur.narayan@intel.corp-partner.google.com>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
(cherry picked from commit 2796b37ceaa0e4a0959690564b8977dc3e3c4d3d)
Reviewed-on: https://chromium-review.googlesource.com/1102781
Trybot-Ready: Miao-chen Chou <mcchou@chromium.org>
Commit-Queue: Miao-chen Chou <mcchou@chromium.org>
1 file changed