commit | 9272727df8c5e42f3afd1315b1018f2af8ccca90 | [log] [tgz] |
---|---|---|
author | Badhri Jagan Sridharan <Badhri@google.com> | Thu Nov 16 15:13:12 2017 -0800 |
committer | Badhri Jagan Sridharan <Badhri@google.com> | Fri Nov 17 12:58:34 2017 -0800 |
tree | 564845c22ac95c15d7a1cf5ec858575c6cca6ca9 | |
parent | ae6b2a5f1ec56c4d68aac10062ccb74e4df730ac [diff] |
Initialize usb_count in the setup funtion. Spurious wakeups can cause the test thread to return even if the callback was not actually called as the usb_count isnt initialized. Bug: 65469351 Test: mma and pushed locally to the device & tested. --skip-preconditions --module VtsHalUsbV1_0Target Change-Id: Ib0e838cf4a44807142eab6aa5e9df0cc462bb973