Commit 52a41f0b authored by Kyle Tso's avatar Kyle Tso Committed by Treehugger Robot
Browse files

ANDROID: usb: typec: tcpci: Combine the parameters of set_auto_vbus_discharge_threshold



The change Ifdb1ba19f7147da286ea5e044e84dfb679050a94 ("FROMGIT: usb:
typec: tcpci: Prevent Sink disconnection before vPpsShutdown in SPR
PPS") breaks the KMI. Prevent the breakage by combining the parameters
"requested_vbus_voltage" and "pps_apdo_min_voltage" to a single u32
variable whose value is selected according to the values of parameter
"mode" and parameter "pps_active".

Bug: 388029777
Change-Id: I85872b9490561d248169bc8e008f3d907cc6c3c0
Signed-off-by: default avatarKyle Tso <kyletso@google.com>
parent f84d5a5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment