There is no reason to not use dev_warn (as done in Linux), this might have been unwanted changes made when porting the driver to barebox. Signed-off-by: Jules Maselbas <jmaselbas@xxxxxxxxx> --- drivers/usb/dwc2/core.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc2/core.c b/drivers/usb/dwc2/core.c index cc5729ed9..8ec77d68a 100644 --- a/drivers/usb/dwc2/core.c +++ b/drivers/usb/dwc2/core.c @@ -696,8 +696,8 @@ int dwc2_core_reset(struct dwc2 *dwc2) /* Wait for AHB master IDLE state. */ ret = dwc2_wait_bit_set(dwc2, GRSTCTL, GRSTCTL_AHBIDLE, 10000); if (ret) { - pr_info("%s: Timeout! Waiting for AHB master IDLE state\n", - __func__); + dwc2_warn(dwc2, "%s: Timeout! Waiting for AHB master IDLE state\n", + __func__); return ret; } @@ -728,7 +728,8 @@ int dwc2_core_reset(struct dwc2 *dwc2) ret = dwc2_wait_bit_clear(dwc2, GRSTCTL, GRSTCTL_CSFTRST, 10000); if (ret) { - pr_info("%s: Timeout! Waiting for Core Soft Reset\n", __func__); + dwc2_warn(dwc2, "%s: Timeout! Waiting for Core Soft Reset\n", + __func__); return ret; } -- 2.17.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox