diff --git a/arch/arm/src/samv7/Kconfig b/arch/arm/src/samv7/Kconfig index ef9672435e..31fb09c688 100644 --- a/arch/arm/src/samv7/Kconfig +++ b/arch/arm/src/samv7/Kconfig @@ -1503,6 +1503,13 @@ config SAMV7_HSMCI_UNALIGNED for example, when used with the FAT file system only transfers aligned blocks of data. + But under certain circumstances, the FAT file system WILL read + directly into the user buffer and then strict 32-bit alignment is + required. That condition is: When the user reads from the + beginning of a sector and at least a whole sector is being read. So + this could effect certain application and so, if you are concerned, + you probably should enable this feature. + config SAMV7_HSMCI_XFRDEBUG bool "HSMCI transfer debug" depends on DEBUG_FS && DEBUG_VERBOSE diff --git a/arch/arm/src/samv7/sam_hsmci.c b/arch/arm/src/samv7/sam_hsmci.c index d1641941cd..a6f07b3dd4 100644 --- a/arch/arm/src/samv7/sam_hsmci.c +++ b/arch/arm/src/samv7/sam_hsmci.c @@ -1612,7 +1612,7 @@ static int sam_hsmci_interrupt(struct sam_dev_s *priv) { /* The Command-Response sequence ended with no error */ - wkupevent = SDIOWAIT_CMDDONE | SDIOWAIT_RESPONSEDONE; + wkupevent = SDIOWAIT_CMDDONE | SDIOWAIT_RESPONSEDONE; } /* Yes.. Is there a thread waiting for this event set? */