diff options
author | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | 2017-05-30 16:11:04 +0530 |
---|---|---|
committer | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | 2017-06-08 11:18:23 +0530 |
commit | a64cc72e05e306c3b97559a00fb5cc8ab94c62a2 (patch) | |
tree | f8ee2d7989f04854db4fcd9959f502ba68ed1adf /drivers/isdn/icn | |
parent | ace73576d2eb567f552a699109b32d0917fccdbd (diff) |
PD: policy_engine: Add timeout for mode change through sysfs
Currently USB driver tries to set power role as none and waits for
disconnect notification to set new mode. But there is a chance that it
might fail and stuck in infinite loop if other device is not dual-role
capable. Fix it by having timeout and bail out in case timeout happens.
Change-Id: I569356ee445c53950ed8fdd3f9994d4ae0e86131
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Diffstat (limited to 'drivers/isdn/icn')
0 files changed, 0 insertions, 0 deletions