diff options
author | Diana Z <dzigterman@chromium.org> | 2021-02-11 16:23:09 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-16 23:52:44 +0000 |
commit | 6a077f21f25be5b0ec7073af2adbba1dd9e261b7 (patch) | |
tree | 605d4dfec1311e7963dec7f63a93adcddcf5d980 /common/usbc/usb_tc_drp_acc_trysrc_sm.c | |
parent | b3a07b9b2eb966d13e315db76cd3775ca42d4a0c (diff) | |
download | chrome-ec-6a077f21f25be5b0ec7073af2adbba1dd9e261b7.tar.gz |
TCPMv2: Refactor PD 3.0 check into FRS enable
To reduce code indenting, add the check for CONFIG_USB_PD_REV30 into the
pe_set_frs_enable function. Also move typec current limit setting into
the FRS enable function.
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Id272c40c447c799f299fb59294c77a1603ccc1c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2692028
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common/usbc/usb_tc_drp_acc_trysrc_sm.c')
0 files changed, 0 insertions, 0 deletions