usb: dwc2: debugfs: Print parameter no_clock_gating
authorStefan Wahren <wahrenst@gmx.net>
Sun, 28 Jul 2024 13:00:24 +0000 (15:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 08:47:10 +0000 (10:47 +0200)
The commit c4a0f7a6ab54 ("usb: dwc2: Skip clock gating on Samsung
SoCs") introduced a parameter to skip enabling clock gating mode
even the hardware platform should supports it.

In order to make this more visible also print this in show
parameters of debugfs.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240728130029.78279-3-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/debugfs.c

index 7c82ab590401a87b56db607a8a55fb576884a1c8..3116ac72747f789861a687575c76026501c8c133 100644 (file)
@@ -702,6 +702,7 @@ static int params_show(struct seq_file *seq, void *v)
        print_param(seq, p, uframe_sched);
        print_param(seq, p, external_id_pin_ctl);
        print_param(seq, p, power_down);
+       print_param(seq, p, no_clock_gating);
        print_param(seq, p, lpm);
        print_param(seq, p, lpm_clock_gating);
        print_param(seq, p, besl);