mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
ASoC: wm_adsp: Remove unused argument to wm_adsp_release_firmware_files()
The dsp argument to wm_adsp_release_firmware_files() isn't used so remove it. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20260310141817.1871794-2-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
1f318b96cc
commit
1eadb7791e
|
|
@ -704,8 +704,7 @@ int wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type,
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(wm_adsp_read_ctl);
|
EXPORT_SYMBOL_GPL(wm_adsp_read_ctl);
|
||||||
|
|
||||||
static void wm_adsp_release_firmware_files(struct wm_adsp *dsp,
|
static void wm_adsp_release_firmware_files(const struct firmware *wmfw_firmware,
|
||||||
const struct firmware *wmfw_firmware,
|
|
||||||
char *wmfw_filename,
|
char *wmfw_filename,
|
||||||
const struct firmware *coeff_firmware,
|
const struct firmware *coeff_firmware,
|
||||||
char *coeff_filename)
|
char *coeff_filename)
|
||||||
|
|
@ -908,8 +907,7 @@ int wm_adsp1_event(struct snd_soc_dapm_widget *w,
|
||||||
coeff_firmware, coeff_filename,
|
coeff_firmware, coeff_filename,
|
||||||
wm_adsp_fw_text[dsp->fw]);
|
wm_adsp_fw_text[dsp->fw]);
|
||||||
|
|
||||||
wm_adsp_release_firmware_files(dsp,
|
wm_adsp_release_firmware_files(wmfw_firmware, wmfw_filename,
|
||||||
wmfw_firmware, wmfw_filename,
|
|
||||||
coeff_firmware, coeff_filename);
|
coeff_firmware, coeff_filename);
|
||||||
break;
|
break;
|
||||||
case SND_SOC_DAPM_PRE_PMD:
|
case SND_SOC_DAPM_PRE_PMD:
|
||||||
|
|
@ -1011,8 +1009,7 @@ int wm_adsp_power_up(struct wm_adsp *dsp, bool load_firmware)
|
||||||
wm_adsp_fw_text[dsp->fw]);
|
wm_adsp_fw_text[dsp->fw]);
|
||||||
|
|
||||||
err:
|
err:
|
||||||
wm_adsp_release_firmware_files(dsp,
|
wm_adsp_release_firmware_files(wmfw_firmware, wmfw_filename,
|
||||||
wmfw_firmware, wmfw_filename,
|
|
||||||
coeff_firmware, coeff_filename);
|
coeff_firmware, coeff_filename);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user