summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>2017-04-17 12:15:19 -0700
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>2017-04-17 17:35:46 -0700
commitfd0747e34a4fddf2ed14ddc1d9b83d637924504f (patch)
tree5f418c7d94b5dc7268468a2221e91d6ffed46a64 /include/linux/fpga/fpga-mgr.h
parent9b1513098b1ea710c5eb0ea9635b35580a9a243f (diff)
power: qcom: lock USB removal
During USB removal a lot of cleanup happens; votables are reset, flags are cleared, etc. After the cleanup is finished there is a chance that USB power supply consumers may set properties before getting the USB removal notification. This can lead to many problems where ICL limits are set based on the previous insertion, or APSD is disabled due to a late setting of PD_ACTIVE. Introduce a lock which prevents USB power supply consumers from setting properties when USB has been removed. This lock will ensure that the next insertion starts with a clean slate. CRs-Fixed: 2020132 Change-Id: I05a4145289b6097e41afc30aa09782722fa03fb6 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org> Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions