diff options
author | Jing Wang <jwangh@google.com> | 2023-04-01 03:21:20 +0000 |
---|---|---|
committer | Jing Wang <jwangh@google.com> | 2023-04-01 04:20:00 +0000 |
commit | aba4bd0c4e5647c22d79479c98d424becf6c4512 (patch) | |
tree | 04f75bf4bd2fa8715cb8fdf978344d29ee8e1f09 | |
parent | d3fa652b8f9498486149a2b49cafcceba7358099 (diff) | |
download | goodix_touch-aba4bd0c4e5647c22d79479c98d424becf6c4512.tar.gz |
Revert "touch/goodix: Skip boot check to force FW update"
Revert submission 2421158-ct3_touch_bringup
Reason for revert: b/276521272
Reverted changes: /q/submissionid:2421158-ct3_touch_bringup
Change-Id: I77a685fe6f65624906d66b13e7ae37f2ab26a3ac
-rw-r--r-- | goodix_brl_hw.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/goodix_brl_hw.c b/goodix_brl_hw.c index b6b3ff0..cb073e1 100644 --- a/goodix_brl_hw.c +++ b/goodix_brl_hw.c @@ -92,7 +92,6 @@ static int brl_dev_confirm(struct goodix_ts_core *cd) ret = hw_ops->read(cd, BOOTOPTION_ADDR, rx_buf, sizeof(rx_buf)); if (ret < 0) return ret; - ts_info("device confirm val: %*ph.", sizeof(rx_buf), rx_buf); /* [GOOG] */ if (!memcmp(tx_buf, rx_buf, sizeof(tx_buf))) break; usleep_range(5000, 5100); @@ -232,12 +231,8 @@ static int brl_power_on(struct goodix_ts_core *cd, bool on) gpio_direction_output(reset_gpio, 1); usleep_range(4000, 4100); ret = brl_dev_confirm(cd); -/* [GOOG] - * Skip the check brl_dev_confirm() as FW recovery mechanism - * to force FW update(if possible). if (ret < 0) goto power_off; -*/ ret = brl_reset_after(cd); if (ret < 0) goto power_off; |