projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6d7a4
)
ASoC: tas2781: fix to save the dsp bin file name into the correct array in case name_...
author
Shenghao Ding
<shenghao-ding@ti.com>
Sat, 7 Sep 2024 00:15:36 +0000
(08:15 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 9 Sep 2024 11:29:29 +0000
(12:29 +0100)
fix to save the dsp bin file name into the correct array, coef_binaryname,
instead of rca_binaryname, in case name_prefix is not NULL.
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link:
https://patch.msgid.link/20240907001540.944-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2781-i2c.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tas2781-i2c.c
b/sound/soc/codecs/tas2781-i2c.c
index e79d613745b4057f494b11821d5760d9be019568..cf8bc7ede6c7cebaa6d03fd85cca4374a661498f 100644
(file)
--- a/
sound/soc/codecs/tas2781-i2c.c
+++ b/
sound/soc/codecs/tas2781-i2c.c
@@
-502,7
+502,7
@@
static void tasdevice_fw_ready(const struct firmware *fmw,
*/
tas_priv->fw_state = TASDEVICE_RCA_FW_OK;
if (tas_priv->name_prefix)
- scnprintf(tas_priv->
rca
_binaryname, 64, "%s-%s_coef.bin",
+ scnprintf(tas_priv->
coef
_binaryname, 64, "%s-%s_coef.bin",
tas_priv->name_prefix, tas_priv->dev_name);
else
scnprintf(tas_priv->coef_binaryname, 64, "%s_coef.bin",