diff options
| author | Jack Pham <jackp@codeaurora.org> | 2017-08-01 18:04:13 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2017-08-07 16:18:48 -0700 |
| commit | 78b0e307f8c3a0572af7f7930720d4b5ef6ba435 (patch) | |
| tree | e5787a579884ac52eb9fc1588c8a363c32d00e41 /drivers/usb/class/cdc-acm.c | |
| parent | 4bcef711d14b12fbb950579c3d3841b761c1530b (diff) | |
usb: pd: simplify pd_phy_write() and pd_phy_signal() usage
Remove the timeout_ms parameter as this can be part of the
function implementation itself. Define tReceiverResponse (15ms)
for message writes which is a reasonable value to allow for
up to 3 retries without receiving GoodCRC before determining
the send failed. On successful transmission simply return 0
to unburden the caller from having to check against the
data_len param.
For signals set the timeout as tHardResetComplete (5ms).
Change-Id: I7ac31fa5a00f01f10f17a01b138e71868c2a6eba
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
