diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2017-02-12 19:16:15 -0800 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2017-02-14 12:15:48 -0800 |
| commit | 12b313359eab41eebdc3be1c517a82e03c92279b (patch) | |
| tree | 24b2392657d2649bf0dcce1ff36edfaf16213b7a /tools/perf/scripts/python/bin | |
| parent | 3a7e752617514960c5cecdf84e12b13dc63c04c7 (diff) | |
smb-lib: fix icl changed interrupt storm
Current driver has two votables for controlling the usb current
and the usb suspend bit. This could lead to a situation where
the icl votable changes current setting while its suspended.
Changing current setting while suspended causes icl changed
interrupt storm.
Fix it by removing usb_suspend_votable and make all the suspend
voters call usb_icl_votable with 0mA to cause suspend.
Update usb_icl_votable to update current settings only when
not suspended. Moreover disable the interrupt while changing
the current settings and enable the interrupt only after the
unsuspend.
Change-Id: Iafc8ee3c934952b8131d374d0529e865424016d5
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
