]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commit
Initialize usb_count in the setup funtion.
authorBadhri Jagan Sridharan <Badhri@google.com>
Thu, 16 Nov 2017 23:13:12 +0000 (15:13 -0800)
committerBadhri Jagan Sridharan <Badhri@google.com>
Fri, 17 Nov 2017 20:58:34 +0000 (12:58 -0800)
commit9272727df8c5e42f3afd1315b1018f2af8ccca90
tree564845c22ac95c15d7a1cf5ec858575c6cca6ca9
parentae6b2a5f1ec56c4d68aac10062ccb74e4df730ac
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
usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp