[PATCH v1 1/3] usb: tcpm: fusb302: add missing newline character to debug output
Sebastian Reichel
sebastian.reichel at collabora.com
Fri Nov 1 19:10:05 CET 2024
Hi,
On Fri, Nov 01, 2024 at 01:34:50PM +0300, bigunclemax at gmail.com wrote:
> From: Maksim Kiselev <bigunclemax at gmail.com>
>
> Add newline character in dev_dbg end.
>
> Signed-off-by: Maksim Kiselev <bigunclemax at gmail.com>
> ---
Acked-by: Sebastian Reichel <sebastian.reichel at collabora.com>
-- Sebastian
> drivers/usb/tcpm/fusb302.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/usb/tcpm/fusb302.c b/drivers/usb/tcpm/fusb302.c
> index fe93ff3d339..ee283782792 100644
> --- a/drivers/usb/tcpm/fusb302.c
> +++ b/drivers/usb/tcpm/fusb302.c
> @@ -940,7 +940,7 @@ static int fusb302_get_src_cc_status(struct udevice *dev,
> return ret;
>
> fusb302_i2c_read(dev, FUSB_REG_SWITCHES0, &status0);
> - dev_dbg(dev, "get_src_cc_status switches: 0x%0x", status0);
> + dev_dbg(dev, "get_src_cc_status switches: 0x%0x\n", status0);
>
> /* Step 2: Set compararator volt to differentiate between Open and Rd */
> ret = fusb302_i2c_write(dev, FUSB_REG_MEASURE, rd_mda);
> @@ -952,7 +952,7 @@ static int fusb302_get_src_cc_status(struct udevice *dev,
> if (ret)
> return ret;
>
> - dev_dbg(dev, "get_src_cc_status rd_mda status0: 0x%0x", status0);
> + dev_dbg(dev, "get_src_cc_status rd_mda status0: 0x%0x\n", status0);
> if (status0 & FUSB_REG_STATUS0_COMP) {
> *cc = TYPEC_CC_OPEN;
> return 0;
> @@ -968,7 +968,7 @@ static int fusb302_get_src_cc_status(struct udevice *dev,
> if (ret)
> return ret;
>
> - dev_dbg(dev, "get_src_cc_status ra_mda status0: 0x%0x", status0);
> + dev_dbg(dev, "get_src_cc_status ra_mda status0: 0x%0x\n", status0);
> if (status0 & FUSB_REG_STATUS0_COMP)
> *cc = TYPEC_CC_RD;
> else
> --
> 2.45.2
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241101/3236dcb4/attachment.sig>
More information about the U-Boot
mailing list