All of lore.kernel.org
 help / color / mirror / Atom feed
From: bigunclemax@gmail.com
Cc: bigunclemax@gmail.com,
	Sebastian Reichel <sebastian.reichel@collabora.com>,
	Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>,
	Wang Jie <dave.wang@rock-chips.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	u-boot@lists.denx.de
Subject: [PATCH v1 1/3] usb: tcpm: fusb302: add missing newline character to debug output
Date: Fri,  1 Nov 2024 13:34:50 +0300	[thread overview]
Message-ID: <20241101103501.21432-2-bigunclemax@gmail.com> (raw)
In-Reply-To: <20241101103501.21432-1-bigunclemax@gmail.com>

From: Maksim Kiselev <bigunclemax@gmail.com>

Add newline character in dev_dbg end.

Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
---
 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


  reply	other threads:[~2024-11-01 10:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-01 10:34 [PATCH v1 0/3] USB TCPM host (SRC) mode improvements bigunclemax
2024-11-01 10:34 ` bigunclemax [this message]
2024-11-01 18:10   ` [PATCH v1 1/3] usb: tcpm: fusb302: add missing newline character to debug output Sebastian Reichel
2024-11-01 10:34 ` [PATCH v1 2/3] usb: tcpm: fusb302: add support for set_vbus() callback bigunclemax
2024-11-01 18:17   ` Sebastian Reichel
2024-11-02 23:21     ` Jonas Karlman
2024-11-06 16:10       ` Maxim Kiselev
2024-11-01 10:34 ` [PATCH v1 3/3] usb: tcpm: fix toggling in host (SRC) mode bigunclemax
2024-11-01 18:31   ` Sebastian Reichel
2024-11-06 16:10     ` Maxim Kiselev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241101103501.21432-2-bigunclemax@gmail.com \
    --to=bigunclemax@gmail.com \
    --cc=dave.wang@rock-chips.com \
    --cc=jonas@kwiboo.se \
    --cc=marex@denx.de \
    --cc=sebastian.reichel@collabora.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.