On 04.04.23 12:00, Udipto Goswami wrote:
When the dwc3 device is runtime suspended, various required clocks would get disabled and it is not guaranteed that access to any registers would work. Depending on the SoC glue, a register read could be as benign as returning 0 or be fatal enough to hang the system. In order to prevent such scenarios of fatal errors, bail out of debugfs function is dwc3 is suspended.
Hi, those look nice, except that they are doing a lot of seq_printf() under a spinlock that is not needed. Regards Oliver