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>
Loading
Please register or sign in to comment