You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/21 11:13:29 UTC

[incubator-nuttx] branch pr137 updated: arch: cxd56xx: Fix hardfault when accessing to uSD card

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

acassis pushed a commit to branch pr137
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/pr137 by this push:
     new a218953  arch: cxd56xx: Fix hardfault when accessing to uSD card
a218953 is described below

commit a21895308247fce63021465268d75e6943c9c123
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Tue Jan 21 18:28:39 2020 +0900

    arch: cxd56xx: Fix hardfault when accessing to uSD card
    
    The bug had been introduced in recent refactoring.
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 arch/arm/src/cxd56xx/cxd56_sdhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/cxd56xx/cxd56_sdhci.c b/arch/arm/src/cxd56xx/cxd56_sdhci.c
index c990e1e..d4bf549 100644
--- a/arch/arm/src/cxd56xx/cxd56_sdhci.c
+++ b/arch/arm/src/cxd56xx/cxd56_sdhci.c
@@ -506,7 +506,7 @@ struct cxd56_sdiodev_s g_sdhcdev =
       .recvR3           = cxd56_sdio_recvshort,
       .recvR4           = cxd56_sdio_recvshort,
       .recvR5           = cxd56_sdio_recvshort,
-      .recvR5           = cxd56_sdio_recvshortcrc,
+      .recvR6           = cxd56_sdio_recvshortcrc,
       .recvR7           = cxd56_sdio_recvshort,
       .waitenable       = cxd56_sdio_waitenable,
       .eventwait        = cxd56_sdio_eventwait,