Cosmetic: Improve some comments; correct some code indentation.

This commit is contained in:
Gregory Nutt 2016-02-22 15:43:58 -06:00
parent 557756c8b4
commit 1446784fbd
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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? */