提交 4f6dc4c8 编写于 作者: A Alberto Panizzo 提交者: Marek Vasut

usb: rockchip: fix printing csw debug info

Workstation tool was happy while console on device were printing
random numbers..
Signed-off-by: NAlberto Panizzo <alberto@amarulasolutions.com>
上级 11758a56
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册