stm32mp1: Fix warning display when 1.5A power supply is used
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 30 Apr 2020 16:41:05 +0000 (18:41 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
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>
board/st/stm32mp1/stm32mp1.c

index dcbfcc1bcb3d3124de6ec803219f516f1822f2d3..33cb7f6c4d0e3706f845de0a0287e77ae8e95f74 100644 (file)
@@ -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;
        }