Re: [PATCH 08/11] usb: dwc2: debugfs: Print parameter no_clock_gating

Minas Harutyunyan
2024-07-01T05:57:06Z

On 6/30/24 19:36, Stefan Wahren wrote:
> 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>

> ---
> drivers/usb/dwc2/debugfs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/dwc2/debugfs.c b/drivers/usb/dwc2/debugfs.c
> index 7c82ab590401..3116ac72747f 100644
> --- a/drivers/usb/dwc2/debugfs.c
> +++ b/drivers/usb/dwc2/debugfs.c
> @@ -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);
> --
> 2.34.1
>