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


The following commit(s) were added to refs/heads/master by this push:
     new 96a2196beb fix argument of nxsem_wait_uninterruptible
96a2196beb is described below

commit 96a2196beb3674feb30cd3dde1e91ae372e56799
Author: Jakub Zdroik <[email protected]>
AuthorDate: Mon Sep 4 08:16:06 2023 +0200

    fix argument of nxsem_wait_uninterruptible
---
 arch/arm/src/stm32l4/stm32l4_sdmmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32l4/stm32l4_sdmmc.c 
b/arch/arm/src/stm32l4/stm32l4_sdmmc.c
index b02768bf65..ac815010d3 100644
--- a/arch/arm/src/stm32l4/stm32l4_sdmmc.c
+++ b/arch/arm/src/stm32l4/stm32l4_sdmmc.c
@@ -2603,7 +2603,7 @@ static sdio_eventset_t stm32_eventwait(struct sdio_dev_s 
*dev)
        * incremented and there will be no wait.
        */
 
-      ret = nxsem_wait_uninterruptible(priv);
+      ret = nxsem_wait_uninterruptible(&priv->waitsem);
       if (ret < 0)
         {
           /* Task canceled.  Cancel the wdog (assuming it was started) and

Reply via email to