]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
firmware: ti_sci: Add missing LF in error message
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 9 May 2023 21:38:13 +0000 (16:38 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 1 Jun 2023 16:32:03 +0000 (12:32 -0400)
The "Message not acknowledged" error message is missing a line feed,
leading to the console log getting garbled and joined together with
whatever the next output is in case this error happens:

"ti_sci system-controller@44043000: Message not acknowledgedAuthentication failed!"

Fix ths by adding the missing linefeed character.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
drivers/firmware/ti_sci.c

index bd7379ae55551b228301e0ffa1f9c540e6a42777..72f572d82484842ccda83eed2af23333dd39e0e8 100644 (file)
@@ -265,7 +265,7 @@ static int ti_sci_do_xfer(struct ti_sci_info *info,
        if (xfer->rx_len) {
                ret = ti_sci_get_response(info, xfer, &info->chan_rx);
                if (!ti_sci_is_response_ack(xfer->tx_message.buf)) {
-                       dev_err(info->dev, "Message not acknowledged");
+                       dev_err(info->dev, "Message not acknowledged\n");
                        ret = -ENODEV;
                }
        }