This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit b576a26d51cc5cf0c6af9a3c73e342f1d8254254
Author: SPRESENSE <[email protected]>
AuthorDate: Tue Feb 14 19:22:09 2023 +0900

    arch: cxd56xx: Fix emmc pin control on initialization error
    
    Fix emmc pin control on initialization error.
---
 arch/arm/src/cxd56xx/cxd56_emmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/cxd56xx/cxd56_emmc.c 
b/arch/arm/src/cxd56xx/cxd56_emmc.c
index 8cf697a15b..abea9af0ec 100644
--- a/arch/arm/src/cxd56xx/cxd56_emmc.c
+++ b/arch/arm/src/cxd56xx/cxd56_emmc.c
@@ -673,7 +673,7 @@ static int emmc_hwinitialize(void)
 
 errout:
   up_disable_irq(CXD56_IRQ_EMMC);
-  emmc_pincontrol(true);
+  emmc_pincontrol(false);
   cxd56_emmc_clock_disable();
 
   return ret;

Reply via email to