mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
USB: serial: cp210x: clean up flow-control debug message
Shorten the flow-control debug message by abbreviating the field names and reducing the value width to two characters. The latter improves readability since all but the least significant byte will almost always be zero anyway. Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
568400b15a
commit
f191c63779
1 changed files with 2 additions and 2 deletions
|
@ -1191,8 +1191,8 @@ static void cp210x_set_flow_control(struct tty_struct *tty,
|
|||
flow_ctl.ulXonLimit = cpu_to_le32(128);
|
||||
flow_ctl.ulXoffLimit = cpu_to_le32(128);
|
||||
|
||||
dev_dbg(&port->dev, "%s - ulControlHandshake=0x%08x, ulFlowReplace=0x%08x\n",
|
||||
__func__, ctl_hs, flow_repl);
|
||||
dev_dbg(&port->dev, "%s - ctrl = 0x%02x, flow = 0x%02x\n", __func__,
|
||||
ctl_hs, flow_repl);
|
||||
|
||||
flow_ctl.ulControlHandshake = cpu_to_le32(ctl_hs);
|
||||
flow_ctl.ulFlowReplace = cpu_to_le32(flow_repl);
|
||||
|
|
Loading…
Add table
Reference in a new issue