arch: cxd56xx: Fix emmc pin control on initialization error

Fix emmc pin control on initialization error.
This commit is contained in:
SPRESENSE 2023-02-14 19:22:09 +09:00 committed by Xiang Xiao
parent 57ca5c0401
commit b576a26d51

View File

@ -673,7 +673,7 @@ static int emmc_hwinitialize(void)
errout: errout:
up_disable_irq(CXD56_IRQ_EMMC); up_disable_irq(CXD56_IRQ_EMMC);
emmc_pincontrol(true); emmc_pincontrol(false);
cxd56_emmc_clock_disable(); cxd56_emmc_clock_disable();
return ret; return ret;