summaryrefslogtreecommitdiff
path: root/drivers/firmware/qcom
diff options
context:
space:
mode:
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>2017-05-30 16:11:04 +0530
committerVijayavardhan Vennapusa <vvreddy@codeaurora.org>2017-06-08 11:18:23 +0530
commita64cc72e05e306c3b97559a00fb5cc8ab94c62a2 (patch)
treef8ee2d7989f04854db4fcd9959f502ba68ed1adf /drivers/firmware/qcom
parentace73576d2eb567f552a699109b32d0917fccdbd (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/firmware/qcom')
0 files changed, 0 insertions, 0 deletions