stm32mp1: Fix warning display when 1.5A power supply is used
On DK1/2 board, when a 1.5A power supply is detected, a warning message is displayed. In this message, "1.5mA" is displayed instead of "1.5A". Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
803e5620ca
commit
5eff168470
|
@ -431,7 +431,7 @@ static int board_check_usb_power(void)
|
|||
if (max_uV > USB_WARNING_LOW_THRESHOLD_UV &&
|
||||
max_uV <= USB_START_LOW_THRESHOLD_UV &&
|
||||
min_uV <= USB_LOW_THRESHOLD_UV) {
|
||||
pr_err("* WARNING 1.5mA power supply detected *\n");
|
||||
pr_err("* WARNING 1.5A power supply detected *\n");
|
||||
nb_blink = 3;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue