projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11758a5
)
usb: rockchip: fix printing csw debug info
author
Alberto Panizzo
<alberto@amarulasolutions.com>
Thu, 12 Jul 2018 11:05:48 +0000
(13:05 +0200)
committer
Marek Vasut
<marex@denx.de>
Wed, 8 Aug 2018 20:22:07 +0000
(22:22 +0200)
Workstation tool was happy while console on device were printing
random numbers..
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
drivers/usb/gadget/f_rockusb.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_rockusb.c
b/drivers/usb/gadget/f_rockusb.c
index 0959b8c3a0a8ab1a6ca1417f6bbac3bfffd99960..574d61058081f514fe8dbc2dceec10cc528b8053 100644
(file)
--- a/
drivers/usb/gadget/f_rockusb.c
+++ b/
drivers/usb/gadget/f_rockusb.c
@@
-384,7
+384,7
@@
static int rockusb_tx_write_csw(u32 tag, int residue, u8 status, int size)
csw->residue = cpu_to_be32(residue);
csw->status = status;
#ifdef DEBUG
- printcsw((char *)
&
csw);
+ printcsw((char *)csw);
#endif
return rockusb_tx_write((char *)csw, size);
}