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 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2307741
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
zhuangnk1 2022-06-21 13:58:49 +08:00 • committed by Ningkai Zhuang
commit 83c7cd9c22

View file

@ -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) {