diff options
| author | Jack Pham <jackp@codeaurora.org> | 2017-03-29 18:59:37 -0700 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2017-03-30 15:13:17 -0700 |
| commit | 9ef3d654f27ba9c3d17cb7465f7f79880996d929 (patch) | |
| tree | 12777f7aaf359e7f27a8cca19afebc66af598241 /include/linux/debugobjects.h | |
| parent | 928cd38621942548217aa62a12110f0e02cb813b (diff) | |
qcom: smb-lib: Disable HW trigger when forcing sink-only mode
Due to an existing HW workaround, the UFP_EN_CMD bit may end up
getting cleared even after having been set. The result of this
is the Type-C state machine returns to DRP behavior despite SW
intention to force sink mode, such as PR Swap or Try.SNK.
Temporarily disable this particular HW trigger whenever the
typec_power_role property is getting set to sink-only mode, and
restore it when leaving sink mode.
Change-Id: I21e840bfeee3ad88b0562645378b1fea200e3803
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
