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:
Gregory Nutt
2016-06-13 11:04:19 -06:00
parent 40f0481478
commit 94f5e87222
33 changed files with 70 additions and 98 deletions
+2 -2
View File
@@ -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;
}
+3 -3
View File
@@ -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;
}