commit | dfd21b89f28bd8a6d4acdc05b74fbd03bb844f48 | [log] [tgz] |
---|---|---|
author | Vitalii Tomkiv <[email protected]> | Fri Oct 14 10:19:26 2016 -0700 |
committer | Vitalii Tomkiv <[email protected]> | Tue Oct 25 15:58:56 2016 -0700 |
tree | 23e291ba034cc79a04ea90da84762cf2af2a841b | |
parent | 3bd87e66f2006fad3b787e596d731e1d0a95e383 [diff] |
Add timeout to usb_device_control_transfer call in usbhost code. usb_device_control_transfer used to use "0" value in control_transfer call which resulted in unlimited timeout. In case of bad USB devices connected it resulted in usbhost stuck state. Bug: 31923641 Test: manual run and test with bad devices. Change-Id: I4a2a691a6d83107f72ba506522c932085bd09624