summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAnirudh Ghayal <aghayal@codeaurora.org>2017-05-26 09:41:25 +0530
committerAshay Jaiswal <ashayj@codeaurora.org>2017-06-21 18:36:11 +0530
commitf11fd649ff6594a4614894ae710784b22e7d1289 (patch)
tree683e2feaae9b16f6a8ba6d7bf9d9ffe145e97bd4 /security/selinux/hooks.c
parent560a996da5c0bf398d2fba51e9909cd7323afea8 (diff)
power: smb-lib: Rearrange BOOST_BACK voting logic
The BOOST_BACK USB-ICL voter needs to be removed in the following conditions - 1. VBUS falling path during PD hard-reset 2. typeC removal 3. False boost-back detected For (1) and (2) - remove the boost_back vote in the usbin_handler and typec_removal path. For (3) add a worker which removes the boost_back vote after the boost-back condition is detected. The delay is sufficient to recover from both a valid and an incorrectly detected boost-back condition. CRs-Fixed: 2051908 Change-Id: I9d1d04f392bb6040b0565510ff7d1032bb036de2 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions