mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
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>
This commit is contained in:
parent
cf868772dd
commit
82e4e198ed
@ -849,12 +849,9 @@ int xhci_ctrl_tx(struct usb_device *udev, unsigned long pipe,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debug("req->requesttype = %d, req->request = %d,"
|
debug("req->requesttype = %d, req->request = %d, req->value = %d, req->index = %d, req->length = %d\n",
|
||||||
"le16_to_cpu(req->value) = %d,"
|
req->requesttype, req->request, le16_to_cpu(req->value),
|
||||||
"le16_to_cpu(req->index) = %d,"
|
le16_to_cpu(req->index), le16_to_cpu(req->length));
|
||||||
"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));
|
|
||||||
|
|
||||||
trb_fields[0] = req->requesttype | req->request << 8 |
|
trb_fields[0] = req->requesttype | req->request << 8 |
|
||||||
le16_to_cpu(req->value) << 16;
|
le16_to_cpu(req->value) << 16;
|
||||||
|
Loading…
Reference in New Issue
Block a user