diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2020-02-13 13:57:22 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-13 12:30:23 +0000 |
commit | 1f9574abf03baf048407c1f7ddb3c7392ecb8db9 (patch) | |
tree | 37488a17d086fcda040fc9fc18b325183cf3cfa3 /common/usb_pd_dual_role.c | |
parent | bd8c51b9295d9d09531a8efca702658ca9d61124 (diff) | |
download | chrome-ec-1f9574abf03baf048407c1f7ddb3c7392ecb8db9.tar.gz |
npcx7: SMB: Fix the incorrect selection of clock source
The SMB driver currently uses the APB2 as the clock source for
SMB4-SMB7, which is not correct. Luckily, the incorrect setting won't
cause any real issue until now because the APB2 and APB3 are set to the
same value. This CL fixes it by changing the clock source to the correct
one (i.e. APB3.)
BUG=b:149359617
BRANCH=none
TEST=No error for "make buildall"
TEST=Test all SMB ports on npcx7 EVB with the SMB slave device.
Change-Id: I10aa0554b1c84d85e355bdefa0a0643b59aa1b25
Signed-off-by: Wealian <whliao@nuvoton.corp-partner.google.com>
Signed-off-by: CHLin <CHLIN56@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2053865
Reviewed-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'common/usb_pd_dual_role.c')
0 files changed, 0 insertions, 0 deletions