From 83c7cd9c224a0e9baf0ee64770e7ceb457e964b4 Mon Sep 17 00:00:00 2001 From: zhuangnk1 Date: Tue, 21 Jun 2022 13:58:49 +0800 Subject: [PATCH] Always power-on eSE to avoid ese not open issue Always power on eSE to avoid eSE not open issue Change-Id: I46c9697fb329eb259759d2c461eec8cfd5782cf7 Signed-off-by: zhuangnk1 Reviewed-on: https://gerrit.mot.com/2307741 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Tao Sun Submit-Approved: Jira Key --- drivers/ese/st54x/st54spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ese/st54x/st54spi.c b/drivers/ese/st54x/st54spi.c index 197ce8a8a501..41c9b40fef0c 100644 --- a/drivers/ese/st54x/st54spi.c +++ b/drivers/ese/st54x/st54spi.c @@ -403,7 +403,7 @@ static void st54spi_power_off(struct st54spi_data *st54spi) // Set SE_PWR_REQ / SE_nRESET to low if (st54spi->power_or_nreset_gpio) - gpio_set_value(st54spi->power_or_nreset_gpio, 0); + gpio_set_value(st54spi->power_or_nreset_gpio, 1); // if ST54H block access to SPI in case this is done during a CLF reset if (st54spi->power_or_nreset_gpio_mode == POWER_MODE_ST54H) {