[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174620787968.116062.4174884576928380234.b4-ty@linaro.org>
Date: Fri, 2 May 2025 23:14:50 +0530
From: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
To: lpieralisi@...nel.org,
Hans Zhang <18255117159@....com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
christophe.jaillet@...adoo.fr,
thierry.reding@...il.com,
kw@...ux.com,
robh@...nel.org,
bhelgaas@...gle.com,
jonathanh@...dia.com,
linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [v3] PCI: tegra194: Fix debugfs directory creation when CONFIG_PCIEASPM is disabled
On Mon, 07 Apr 2025 20:43:31 +0800, Hans Zhang wrote:
> Previously, the debugfs directory was unconditionally created in
> tegra_pcie_config_rp() regardless of the CONFIG_PCIEASPM setting.
> This led to unnecessary directory creation when ASPM support was disabled.
>
> Move the debugfs directory creation into init_debugfs() which is
> conditionally compiled based on CONFIG_PCIEASPM. This ensures:
> - The directory is only created when ASPM-related debugfs entries are
> needed.
> - Proper error handling for directory creation failures.
> - Avoids cluttering debugfs with empty directories when ASPM is disabled.
>
> [...]
Applied, thanks!
[1/1] PCI: tegra194: Fix debugfs directory creation when CONFIG_PCIEASPM is disabled
commit: ed798ff1c52f6fe232ce2e24e68fb63f5470ab97
Best regards,
--
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Powered by blists - more mailing lists