Unverified Commit a3003af6 authored by Simon Trimmer's avatar Simon Trimmer Committed by Mark Brown
Browse files

ASoC: Intel: soc-acpi: arl: Correct naming of a cs35l56 address struct



As there are many combinations these follow a naming scheme to make
the content of link structures clearer:

cs35l56_<controller link>_<l or r><unique instance id>_adr

Signed-off-by: default avatarSimon Trimmer <simont@opensource.cirrus.com>
Reviewed-by: default avatarPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarLiam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241206075903.195730-10-yung-chuan.liao@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a7ebb025
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ static const struct snd_soc_acpi_adr_device cs35l56_2_r1_adr[] = {
	},
};

static const struct snd_soc_acpi_adr_device cs35l56_3_l1_adr[] = {
static const struct snd_soc_acpi_adr_device cs35l56_3_l3_adr[] = {
	{
		.adr = 0x00033301fa355601ull,
		.num_endpoints = 1,
@@ -306,8 +306,8 @@ static const struct snd_soc_acpi_link_adr arl_cs42l43_l0_cs35l56_2_l23[] = {
	},
	{
		.mask = BIT(3),
		.num_adr = ARRAY_SIZE(cs35l56_3_l1_adr),
		.adr_d = cs35l56_3_l1_adr,
		.num_adr = ARRAY_SIZE(cs35l56_3_l3_adr),
		.adr_d = cs35l56_3_l3_adr,
	},
	{}
};