Re: [PATCH] usb: dwc2: debugfs: Don't touch RX FIFO during register dump

2018-05-05 Thread Minas Harutyunyan
On 5/4/2018 10:09 PM, Stefan Wahren wrote: > Dumping the registers via debugfs makes USB on Raspberry Pi completely > unusable. The read of register GRXSTSP ("Receive Status Read and Pop > Register") is responsible for this behaviour, because it pops the RX FIFO. > So avoid this by omitting the rel

[PATCH] usb: dwc2: debugfs: Don't touch RX FIFO during register dump

2018-05-04 Thread Stefan Wahren
Dumping the registers via debugfs makes USB on Raspberry Pi completely unusable. The read of register GRXSTSP ("Receive Status Read and Pop Register") is responsible for this behaviour, because it pops the RX FIFO. So avoid this by omitting the relevant register. CC: Mian Yousaf Kaukab Fixes: 563