Merge branch 'master' of bitbucket.org:nuttx/nuttx
This commit is contained in:
commit
1af4d6a905
|
@ -2967,6 +2967,7 @@ static int stm32_registercallback(FAR struct sdio_dev_s *dev,
|
|||
static int stm32_dmapreflight(FAR struct sdio_dev_s *dev,
|
||||
FAR const uint8_t *buffer, size_t buflen)
|
||||
{
|
||||
#ifdef CONFIG_STM32F7_DMACAPABLE
|
||||
struct stm32_dev_s *priv = (struct stm32_dev_s *)dev;
|
||||
|
||||
DEBUGASSERT(priv != NULL && buffer != NULL && buflen > 0);
|
||||
|
@ -2978,6 +2979,7 @@ static int stm32_dmapreflight(FAR struct sdio_dev_s *dev,
|
|||
{
|
||||
return -EFAULT;
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -70,6 +70,7 @@ int stm32_bringup(void)
|
|||
{
|
||||
int ret = OK;
|
||||
|
||||
#ifdef CONFIG_FS_PROCFS
|
||||
#ifdef CONFIG_STM32_CCM_PROCFS
|
||||
/* Register the CCM procfs entry. This must be done before the procfs is
|
||||
* mounted.
|
||||
|
@ -80,11 +81,11 @@ int stm32_bringup(void)
|
|||
|
||||
/* Mount the procfs file system */
|
||||
|
||||
ret = mount(NULL, SAMV71_PROCFS_MOUNTPOINT, "procfs", 0, NULL);
|
||||
ret = mount(NULL, STM32_PROCFS_MOUNTPOINT, "procfs", 0, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
SYSLOG(LOG_ERR, "ERROR: Failed to mount procfs at %s: %d\n",
|
||||
SAMV71_PROCFS_MOUNTPOINT, ret);
|
||||
syslog(LOG_ERR, "ERROR: Failed to mount procfs at %s: %d\n",
|
||||
STM32_PROCFS_MOUNTPOINT, ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue