mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 18:53:30 +00:00
ASoC: tas2781: fix to save the dsp bin file name into the correct array in case name_prefix is not NULL
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>
This commit is contained in:
parent
bf6d7a44a1
commit
af5e317175
@ -502,7 +502,7 @@ static void tasdevice_fw_ready(const struct firmware *fmw,
|
|||||||
*/
|
*/
|
||||||
tas_priv->fw_state = TASDEVICE_RCA_FW_OK;
|
tas_priv->fw_state = TASDEVICE_RCA_FW_OK;
|
||||||
if (tas_priv->name_prefix)
|
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);
|
tas_priv->name_prefix, tas_priv->dev_name);
|
||||||
else
|
else
|
||||||
scnprintf(tas_priv->coef_binaryname, 64, "%s_coef.bin",
|
scnprintf(tas_priv->coef_binaryname, 64, "%s_coef.bin",
|
||||||
|
Loading…
Reference in New Issue
Block a user