All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda: add MODULE_FIRMWARE for cs35l41/cs35l56
@ 2025-06-23 14:00 GalaxySnail
  2025-06-24  3:56 ` kernel test robot
  0 siblings, 1 reply; 10+ messages in thread
From: GalaxySnail @ 2025-06-23 14:00 UTC (permalink / raw)
  To: linux-sound
  Cc: linux-kernel, patches, David Rhodes, Richard Fitzgerald,
	Jaroslav Kysela, Takashi Iwai, GalaxySnail

add firmware information in the .modinfo section, so that userspace
tools can find out firmware required by cs35l41/cs32l56 kernel module

Signed-off-by: GalaxySnail <me@glxys.nl>
---
 sound/pci/hda/cs35l41_hda.c | 2 ++
 sound/pci/hda/cs35l56_hda.c | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c
index d5bc81099d0d..90e994b79481 100644
--- a/sound/pci/hda/cs35l41_hda.c
+++ b/sound/pci/hda/cs35l41_hda.c
@@ -2085,3 +2085,5 @@ MODULE_IMPORT_NS("SND_SOC_CS_AMP_LIB");
 MODULE_AUTHOR("Lucas Tanure, Cirrus Logic Inc, <tanureal@opensource.cirrus.com>");
 MODULE_LICENSE("GPL");
 MODULE_IMPORT_NS("FW_CS_DSP");
+MODULE_FIRMWARE("cirrus/cs35l41-*.wmfw")
+MODULE_FIRMWARE("cirrus/cs35l41-*.bin")
diff --git a/sound/pci/hda/cs35l56_hda.c b/sound/pci/hda/cs35l56_hda.c
index 3f2fd32f4ad9..c393fc0c7339 100644
--- a/sound/pci/hda/cs35l56_hda.c
+++ b/sound/pci/hda/cs35l56_hda.c
@@ -1122,3 +1122,7 @@ MODULE_IMPORT_NS("SND_SOC_CS_AMP_LIB");
 MODULE_AUTHOR("Richard Fitzgerald <rf@opensource.cirrus.com>");
 MODULE_AUTHOR("Simon Trimmer <simont@opensource.cirrus.com>");
 MODULE_LICENSE("GPL");
+MODULE_FIRMWARE("cirrus/cs35l54-*.wmfw")
+MODULE_FIRMWARE("cirrus/cs35l54-*.bin")
+MODULE_FIRMWARE("cirrus/cs35l56-*.wmfw")
+MODULE_FIRMWARE("cirrus/cs35l56-*.bin")
-- 
2.50.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-07-06  8:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-23 14:00 [PATCH] ALSA: hda: add MODULE_FIRMWARE for cs35l41/cs35l56 GalaxySnail
2025-06-24  3:56 ` kernel test robot
2025-06-24  4:31   ` [PATCH v2] " GalaxySnail
2025-06-24 10:04     ` Simon Trimmer
2025-06-24 10:17       ` [PATCH v3] " GalaxySnail
2025-06-24 10:44         ` Takashi Iwai
2025-06-24 11:25           ` GalaxySnail
2025-07-04 12:02         ` Takashi Iwai
2025-07-04 12:33         ` Richard Fitzgerald
2025-07-06  8:23         ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.