mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 05:34:30 +08:00
serial_lpuart: make clock failure less verbose
Some device may enable CONFIG_CLK but not still support this clock in CC, so better use debug() in place of dev_warn() otherwise a lot of boards will throw useless dev_warn()s. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
291e3ab904
commit
289dd9f072
@ -499,7 +499,7 @@ static int lpuart_serial_probe(struct udevice *dev)
|
||||
return ret;
|
||||
}
|
||||
} else {
|
||||
dev_warn(dev, "Failed to get per clk: %d\n", ret);
|
||||
debug("%s: Failed to get per clk: %d\n", __func__, ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user