diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-01-05 17:56:31 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-07 19:22:02 +0000 |
commit | eb43224368e18701741f1c7cbcc5563a61daa7a1 (patch) | |
tree | 83bad3fc6ba5c26e0f5ee666716e6007d6770a31 /chip | |
parent | b39d6726cbc4f3d14cadaaa0c18a2883cfa1d962 (diff) | |
download | chrome-ec-eb43224368e18701741f1c7cbcc5563a61daa7a1.tar.gz |
coil: rename I2CS gpios
We can't change the register names at this point. We can only change the
gpios. This changes the gpio names.
BUG=b:175244613
TEST=make buildall -j
Change-Id: I0dadd84bbb3d19011e86428b79d0cb08321c35e3
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2611762
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/g/i2cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/g/i2cs.c b/chip/g/i2cs.c index 72a569bd99..bf1f3f1ac3 100644 --- a/chip/g/i2cs.c +++ b/chip/g/i2cs.c @@ -106,7 +106,7 @@ static uint16_t i2cp_sda_low_count; static void check_i2cp_state(void) { - if (gpio_get_level(GPIO_MONITOR_I2CS_SDA)) + if (gpio_get_level(GPIO_MONITOR_I2CP_SDA)) return; /* @@ -221,7 +221,7 @@ DECLARE_DEFERRED(poll_read_state); */ static void poll_read_state(void) { - if (!ap_is_on() || gpio_get_level(GPIO_I2CS_SDA)) { + if (!ap_is_on() || gpio_get_level(GPIO_I2CP_SDA)) { /* * When the AP is off, the SDA line might drop low since the * pull ups might not be powered. |