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>
This commit is contained in:
Alberto Panizzo 2018-07-12 13:05:48 +02:00 committed by Marek Vasut
parent 11758a56ab
commit 4f6dc4c893

View File

@ -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);
}