summaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2017-08-01 18:04:13 -0700
committerJack Pham <jackp@codeaurora.org>2017-08-07 16:18:48 -0700
commit78b0e307f8c3a0572af7f7930720d4b5ef6ba435 (patch)
treee5787a579884ac52eb9fc1588c8a363c32d00e41 /drivers/usb/class/cdc-acm.c
parent4bcef711d14b12fbb950579c3d3841b761c1530b (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