Skip to content
Snippets Groups Projects
Commit 4f6dc4c8 authored by Alberto Panizzo's avatar Alberto Panizzo Committed by Marek Vasut
Browse files

usb: rockchip: fix printing csw debug info


Workstation tool was happy while console on device were printing
random numbers..

Signed-off-by: default avatarAlberto Panizzo <alberto@amarulasolutions.com>
parent 11758a56
No related branches found
No related tags found
No related merge requests found
...@@ -384,7 +384,7 @@ static int rockusb_tx_write_csw(u32 tag, int residue, u8 status, int size) ...@@ -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->residue = cpu_to_be32(residue);
csw->status = status; csw->status = status;
#ifdef DEBUG #ifdef DEBUG
printcsw((char *)&csw); printcsw((char *)csw);
#endif #endif
return rockusb_tx_write((char *)csw, size); return rockusb_tx_write((char *)csw, size);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment