commit | cedcd64796dc783d33d8ed21fe123d811142fb08 | [log] [tgz] |
---|---|---|
author | sgopal1 <saranya.gopal@intel.com> | Mon Jul 16 11:42:50 2018 +0530 |
committer | Saranya Gopal <saranya.gopal@intel.com> | Wed Oct 10 11:41:28 2018 +0530 |
tree | 7994267a2f26da692b97b895770435328034cc31 | |
parent | d22857101ea092618470b085fb3378e4b06a03bd [diff] |
MtpPacket: Add finite timeout for bulk transfer When timeout is set as '0' for USB bulk transfer, kernel waits indefinitely in case of faulty responder devices. This results in device reboot if hung_task panic is enabled in kernel. So, add a finite timeout for USB bulk transfer. Bug: 113991602 Test: manual run and test with bad responder device Change-Id: I29631dfa3624afa4b4f9912a985351993cbc1698 Signed-off-by: sgopal1 <saranya.gopal@intel.com>