aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlberto Panizzo2018-07-12 13:05:48 +0200
committerMarek Vasut2018-08-08 22:22:07 +0200
commit4f6dc4c893de44e8d91008516c835e06b450e310 (patch)
tree25534f66b80a8c1afb3a6100056f47470bea5dac /drivers/usb
parent11758a56ab96c216512606ca470a72026e8d45ce (diff)
usb: rockchip: fix printing csw debug info
Workstation tool was happy while console on device were printing random numbers.. Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/f_rockusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_rockusb.c b/drivers/usb/gadget/f_rockusb.c
index 0959b8c3a0a..574d6105808 100644
--- 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);
}