diff options
author | Ruibin Chang <ruibin.chang@ite.com.tw> | 2020-12-17 17:57:21 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-21 03:08:28 +0000 |
commit | 493b7a883cce209c0da5e84f6fc67ca3ec29e5fd (patch) | |
tree | 53493a3120f6f55d40675e56f5dcd0a8884b6aa2 /chip | |
parent | 734be01c61e10e7c2e0410cae01245df1772ad93 (diff) | |
download | chrome-ec-493b7a883cce209c0da5e84f6fc67ca3ec29e5fd.tar.gz |
Cleanup: rename function name
Rename function name from it83xx_* to it8xxx2_* for it8xxx2 driver.
Rename function name from *_tcpm_sw_reset to *_tcpm_hook_disconnect.
BUG=none
BRANCH=none
TEST=make BOARD=drawcia -j
make BOARD=asurada -j
Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
Change-Id: I8111ec5b9972d1badae625e87248c62e99eabbf6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2598298
Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/it83xx/intc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/it83xx/intc.c b/chip/it83xx/intc.c index cc7ffc6c02..08fcdbcf53 100644 --- a/chip/it83xx/intc.c +++ b/chip/it83xx/intc.c @@ -51,10 +51,10 @@ static void chip_pd_irq(enum usbpd_port port) if (USBPD_IS_TX_DONE(port)) { #ifdef CONFIG_USB_PD_TCPM_DRIVER_IT8XXX2 - it83xx_clear_tx_error_status(port); + it8xxx2_clear_tx_error_status(port); /* check TX status, clear by TX_DONE status too */ if (USBPD_IS_TX_ERR(port)) - it83xx_get_tx_error_status(port); + it8xxx2_get_tx_error_status(port); #endif /* clear TX done interrupt */ IT83XX_USBPD_ISR(port) = USBPD_REG_MASK_MSG_TX_DONE; |