diff options
author | Peter Marheine <pmarheine@chromium.org> | 2020-07-01 16:36:48 +1000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-06 03:40:27 +0000 |
commit | 3f01ed23cae2dd07bc8d9ec69f5a15aa9afaefa3 (patch) | |
tree | 755252b65e1941fc3b335dc83faa1cacb9bb0c07 /baseboard/hatch | |
parent | 443d8cbb9e682302f665aef737bd746f19e5dcc1 (diff) | |
download | chrome-ec-3f01ed23cae2dd07bc8d9ec69f5a15aa9afaefa3.tar.gz |
usbc: only try to use ppc_set_frs_enable if it exists
The driver function to set FRS enable only exists if
CONFIG_USB_PD_FRS_PPC is enabled, so we must also make its callers
conditional in the same way. For consistency, also revise the TCPC
FRS code paths to be conditional.
BUG=b:146393213
BRANCH=None
TEST=make buildall
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: I3fb14c711dd2abdf6ef77d469b2103f37daac182
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2276125
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard/hatch')
0 files changed, 0 insertions, 0 deletions