diff options
| author | Hemant Kumar <hemantk@codeaurora.org> | 2017-07-20 13:51:49 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2018-01-17 17:55:15 -0800 |
| commit | f83e315016ed98567696797b7cb2168a61950a32 (patch) | |
| tree | 435225cad01898fd98a0b860a2075c20b50aeb75 /lib/mpi/mpi-internal.h | |
| parent | b3b1b7012ce3bdd728f867114e08053b8b7b4fe7 (diff) | |
usb: pd: Support revision 3.0 in sink-only mode
commit 07040df2790e ("usb: pd: policy_engine: Handle spec revision
properly") changed the spec revision handling to be 2.0 mode unless
a programmable power supply is seen. Extend this via a module
parameter to allow PD 3.0 in sink-only mode regardless of PPS when
a 3.0 source is connected.
Since the revision of the source is first encountered when
receiving the Source Capabilities message, this information is
lost by the time pd_eval_src_caps() is called. So bring back the
handling in phy_msg_received() removed in commit 07040df2790e ("usb:
pd: policy_engine: Handle spec revision properly").
Change-Id: I0485224aeadcffbfaecd0c7942c6dbcd9ddd3813
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
