Trivial update to FAT, comments, README

This commit is contained in:
Gregory Nutt 2015-03-15 15:06:17 -06:00
parent b637a0cc3e
commit f60f22258a
2 changed files with 7 additions and 6 deletions

View File

@ -78,7 +78,11 @@ The BASIC nsh configuration is fully function (as desribed below under
#undef HSCMI_NORXDMA /* Define to disable RX DMA */
#define HSCMI_NOTXDMA 1 /* Define to disable TX DMA */
4. There not yet any support for the following board features: QSPI, USB,
4. There may also be some issues with removing and re-inserting SD cards
(of course with appropriate mounting and unmounting). I all not sure
of this and need to do more testing to characterize if the issue.
5. There is not yet any support for the following board features: QSPI, USB,
EMAC, AT24, or WM8904 nor for any non-board features). Most of these
drivers will port easily from either the SAM3/4 or from the SAMA5Dx.
So there is still plenty to be done.

View File

@ -1890,7 +1890,6 @@ static int fat_unbind(FAR void *handle, FAR struct inode **blkdriver,
unsigned int flags)
{
FAR struct fat_mountpt_s *fs = (FAR struct fat_mountpt_s*)handle;
int ret;
if (!fs)
{
@ -1930,8 +1929,7 @@ static int fat_unbind(FAR void *handle, FAR struct inode **blkdriver,
*/
fat_semgive(fs);
ret = (flags != 0) ? -ENOSYS : -EBUSY;
return ret;
return (flags != 0) ? -ENOSYS : -EBUSY;
}
}
@ -1950,8 +1948,7 @@ static int fat_unbind(FAR void *handle, FAR struct inode **blkdriver,
/* We hold a reference to the block driver but should not but
* mucking with inodes in this context. So, we will just return
* our contained reference to the block driver inode and let the
* umount
* logic dispose of it.
* umount logic dispose of it.
*/
if (blkdriver)