Skip to content

Commit

Permalink
ASoC: Intel: sof_ssp_amp: rename function parameter
Browse files Browse the repository at this point in the history
Rename the parameter 'ssp_codec' of sof_card_dai_links_create() since
it's the port number of speaker amplifier. No functional change in
this commit.

Signed-off-by: Brent Lu <[email protected]>
  • Loading branch information
brentlu authored and plbossart committed Nov 13, 2023
1 parent 878d573 commit e5b4fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/intel/boards/sof_ssp_amp.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static struct snd_soc_dai_link_component platform_component[] = {

static struct snd_soc_dai_link *
sof_card_dai_links_create(struct device *dev, enum sof_ssp_codec amp_type,
int ssp_codec, int dmic_be_num, int hdmi_num,
int ssp_amp, int dmic_be_num, int hdmi_num,
bool idisp_codec)
{
struct snd_soc_dai_link_component *cpus;
Expand Down Expand Up @@ -156,7 +156,7 @@ sof_card_dai_links_create(struct device *dev, enum sof_ssp_codec amp_type,
if (amp_type != CODEC_NONE) {
be_id = fixed_be ? SPK_BE_ID : id;
ret = sof_intel_board_set_ssp_amp_link(dev, &links[id], be_id,
amp_type, ssp_codec);
amp_type, ssp_amp);
if (ret)
return NULL;

Expand Down

0 comments on commit e5b4fd0

Please sign in to comment.