Skip to content

Commit 7dfd1cc

Browse files
plbossartbroonie
authored andcommitted
ASoC: SOF: Intel: hda-mlink: use 'ml_addr' parameter consistently
We mix the use of hlink->ml_addr and the 'ml_addr' parameter. It's the same thing, let's align on using the parameter. Signed-off-by: Pierre-Louis Bossart <[email protected] Reviewed-by: Bard Liao <[email protected] Reviewed-by: Rander Wang <[email protected] Reviewed-by: Ranjani Sridharan <[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]
1 parent af8c32b commit 7dfd1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/sof/intel/hda-mlink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static int hdaml_lnk_enum(struct device *dev, struct hdac_ext2_link *h2link,
131131
link_idx, h2link->slcount);
132132

133133
/* find IP ID and offsets */
134-
h2link->leptr = readl(hlink->ml_addr + AZX_REG_ML_LEPTR);
134+
h2link->leptr = readl(ml_addr + AZX_REG_ML_LEPTR);
135135

136136
h2link->elid = FIELD_GET(AZX_REG_ML_LEPTR_ID, h2link->leptr);
137137

0 commit comments

Comments
 (0)