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:
parent
11758a56ab
commit
4f6dc4c893
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user