projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823a036
)
ALSA: hda: cs35l56: Log tuning unique identifiers during firmware load
author
Simon Trimmer
<simont@opensource.cirrus.com>
Tue, 13 May 2025 13:39:24 +0000
(13:39 +0000)
committer
Mark Brown
<broonie@kernel.org>
Wed, 14 May 2025 08:57:41 +0000
(10:57 +0200)
The cs35l56 smart amplifier has some informational firmware controls
that are populated by a tuning bin file to unique values - logging these
during firmware load identifies the specific configuration being used on
that device instance.
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Link:
https://patch.msgid.link/2fcc0e6fc5b8669acb026bebe44a4995ac83b967.1747142267.git.simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/pci/hda/cs35l56_hda.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/cs35l56_hda.c
b/sound/pci/hda/cs35l56_hda.c
index 235d22049aa9fa459efa18afd45b093e14cd962c..387f54626fc5200e01305f63ee4358cc4beb4b8a 100644
(file)
--- a/
sound/pci/hda/cs35l56_hda.c
+++ b/
sound/pci/hda/cs35l56_hda.c
@@
-678,6
+678,8
@@
static void cs35l56_hda_fw_load(struct cs35l56_hda *cs35l56)
if (ret)
cs_dsp_stop(&cs35l56->cs_dsp);
+ cs35l56_log_tuning(&cs35l56->base, &cs35l56->cs_dsp);
+
err_powered_up:
if (!cs35l56->base.fw_patched)
cs_dsp_power_down(&cs35l56->cs_dsp);