diff options
| author | Jack Pham <jackp@codeaurora.org> | 2017-07-06 00:12:15 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2017-07-07 11:12:37 -0700 |
| commit | ca88ca45eb9bdf3d29917085717a25f302e079d0 (patch) | |
| tree | 5ebeeaa66f34aa2f601c5230b85f003f57f857f8 /lib/mpi/mpi-bit.c | |
| parent | 0f6cf457b2bdcd335b710a5c5f27f234da076696 (diff) | |
usb: pd: Add delay before sending Source Capabilities
The PD specification defines tFirstSourceCap as the time before
a source must send its first Source_Capabilities message and
allows this to be up to 250ms. This is advantageous for cases
in which a sink partner is quickly detached (or possibly even
attempting Try.SRC) just after VBUS is turned on and the
unnecessary PD messaging causes the HW to fail to detect the
detach condition right away. Add a delay of 200ms during the
transition from PE_SRC_STARTUP to PE_SRC_SEND_CAPABILITIES.
Change-Id: I13dd31d71b8b93adadb70b113cba28ce5aed6e4e
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
