mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
This commit is contained in:
@@ -259,7 +259,7 @@ int sam_sdinitialize(int minor)
|
||||
spi = sam_mmcsd_spiinitialize();
|
||||
if (!spi)
|
||||
{
|
||||
ferr("Failed to bit bang SPI for the MMC/SD slot\n");
|
||||
ferr("ERROR: Failed to bit bang SPI for the MMC/SD slot\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ int sam_sdinitialize(int minor)
|
||||
ret = mmcsd_spislotinitialize(minor, SAM34_MMCSDSLOTNO, spi);
|
||||
if (ret < 0)
|
||||
{
|
||||
ferr("Failed to bind bit bang SPI device to MMC/SD slot %d: %d\n",
|
||||
ferr("ERROR: Failed to bind bit bang SPI device to MMC/SD slot %d: %d\n",
|
||||
SAM34_MMCSDSLOTNO, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -359,7 +359,7 @@ int board_tsc_setup(int minor)
|
||||
static bool initialized = false;
|
||||
int ret;
|
||||
|
||||
ierr("minor %d\n", minor);
|
||||
iinfo("minor %d\n", minor);
|
||||
DEBUGASSERT(minor == 0);
|
||||
|
||||
/* Have we already initialized? Since we never uninitialize we must prevent
|
||||
@@ -383,7 +383,7 @@ int board_tsc_setup(int minor)
|
||||
dev = sam_tsc_spiinitialize();
|
||||
if (!dev)
|
||||
{
|
||||
ierr("Failed to initialize bit bang SPI\n");
|
||||
ierr("ERROR: Failed to initialize bit bang SPI\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
@@ -392,7 +392,7 @@ int board_tsc_setup(int minor)
|
||||
ret = ads7843e_register(dev, &g_tscinfo, CONFIG_ADS7843E_DEVMINOR);
|
||||
if (ret < 0)
|
||||
{
|
||||
ierr("Failed to register touchscreen device\n");
|
||||
ierr("ERROR: Failed to register touchscreen device\n");
|
||||
/* up_spiuninitialize(dev); */
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user