Skip to contentSkip to conversation

memory: tegra20-emc: Add runtime dependency on devfreq governor module

PATCH Applied Dmitry Osipenko 2 participants 2 messages Oct 19, 2021 – Oct 21, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memory: tegra20-emc: Add runtime dependency on devfreq governor module

Tegra20 EMC driver uses simple devfreq governor. Add simple devfreq governor to the list of the Tegra20 EMC driver module softdeps to allow userspace initramfs tools like dracut to automatically pull the devfreq module into ramfs image together with the EMC module.

---
 drivers/memory/tegra/tegra20-emc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/memory/tegra/tegra20-emc.c +1 -0
index 77c5cd52d1a2..497b6edbf3ca 100644
@@ -1288,4 +1288,5 @@ module_platform_driver(tegra_emc_driver);
 
 MODULE_AUTHOR("Dmitry Osipenko <[email protected]>");
 MODULE_DESCRIPTION("NVIDIA Tegra20 EMC driver");
+MODULE_SOFTDEP("pre: governor_simpleondemand");
 MODULE_LICENSE("GPL v2");
Signature · 1 line
2.32.0
#1 lore raw
Quoted 6 lines · Dmitry Osipenko

Tegra20 EMC driver uses simple devfreq governor. Add simple devfreq governor to the list of the Tegra20 EMC driver module softdeps to allow userspace initramfs tools like dracut to automatically pull the devfreq module into ramfs image together with the EMC module.

Applied, thanks!

[1/1] memory: tegra20-emc: Add runtime dependency on devfreq governor module

      commit: 14b43c20c283de36131da0cb44f3170b9ffa7630

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>