USB: ULPI: increase error case verbosity
Add the argument value to the error message. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4256101f8c
commit
cf9f95f293
|
@ -92,8 +92,8 @@ int ulpi_select_transceiver(u32 ulpi_viewport, unsigned speed)
|
||||||
tspeed = speed;
|
tspeed = speed;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("ULPI: %s: wrong transceiver speed specified, "
|
printf("ULPI: %s: wrong transceiver speed specified: %u, "
|
||||||
"falling back to full speed\n", __func__);
|
"falling back to full speed\n", __func__, speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
val = ulpi_read(ulpi_viewport, &ulpi->function_ctrl);
|
val = ulpi_read(ulpi_viewport, &ulpi->function_ctrl);
|
||||||
|
@ -140,8 +140,8 @@ int ulpi_opmode_sel(u32 ulpi_viewport, unsigned opmode)
|
||||||
topmode = opmode;
|
topmode = opmode;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("ULPI: %s: wrong OpMode specified, "
|
printf("ULPI: %s: wrong OpMode specified: %u, "
|
||||||
"falling back to OpMode Normal\n", __func__);
|
"falling back to OpMode Normal\n", __func__, opmode);
|
||||||
}
|
}
|
||||||
|
|
||||||
val = ulpi_read(ulpi_viewport, &ulpi->function_ctrl);
|
val = ulpi_read(ulpi_viewport, &ulpi->function_ctrl);
|
||||||
|
@ -161,8 +161,8 @@ int ulpi_serial_mode_enable(u32 ulpi_viewport, unsigned smode)
|
||||||
case ULPI_IFACE_3_PIN_SERIAL_MODE:
|
case ULPI_IFACE_3_PIN_SERIAL_MODE:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("ULPI: %s: unrecognized Serial Mode specified\n",
|
printf("ULPI: %s: unrecognized Serial Mode specified: %u\n",
|
||||||
__func__);
|
__func__, smode);
|
||||||
return ULPI_ERROR;
|
return ULPI_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue