summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2021-04-06 12:10:18 +0200
committerMarek Vasut <marex@denx.de>2021-04-06 16:38:58 +0200
commit82e4e198ed7afd5103f728dd21bff80ecfe8dd72 (patch)
treed06e69c589dc3b17ec3fccb8b6e6bf9412d912ef /drivers/usb
parentcf868772dd554b1de2b3824d66c7d50b8e939440 (diff)
downloadu-boot-82e4e198ed7afd5103f728dd21bff80ecfe8dd72.tar.gz
u-boot-82e4e198ed7afd5103f728dd21bff80ecfe8dd72.tar.bz2
u-boot-82e4e198ed7afd5103f728dd21bff80ecfe8dd72.zip
usb: xhci: Make debug output better readable and checkpatch clean
This change makes debugging a bit easier as the output is better readable with the added space. The explicit le16_to_cpu() is not needed in the output. Also this patch moves the strings into one line to make the patch checkpatch clean. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Aaron Williams <awilliams@marvell.com> Cc: Chandrakala Chavva <cchavva@marvell.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-ring.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 46c137f857..35bd5cd29e 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -849,12 +849,9 @@ int xhci_ctrl_tx(struct usb_device *udev, unsigned long pipe,
}
}
- debug("req->requesttype = %d, req->request = %d,"
- "le16_to_cpu(req->value) = %d,"
- "le16_to_cpu(req->index) = %d,"
- "le16_to_cpu(req->length) = %d\n",
- req->requesttype, req->request, le16_to_cpu(req->value),
- le16_to_cpu(req->index), le16_to_cpu(req->length));
+ debug("req->requesttype = %d, req->request = %d, req->value = %d, req->index = %d, req->length = %d\n",
+ req->requesttype, req->request, le16_to_cpu(req->value),
+ le16_to_cpu(req->index), le16_to_cpu(req->length));
trb_fields[0] = req->requesttype | req->request << 8 |
le16_to_cpu(req->value) << 16;