Unverified Commit 08fd332e authored by Alexander Stein's avatar Alexander Stein Committed by Mark Brown
Browse files

ASoC: fsl_xcvr: provide regmap names



This driver uses multiple regmaps, which will causes name conflicts
in debugfs like:
  debugfs: '30cc0000.xcvr' already exists in 'regmap'
Fix this by adding a name for the non-core regmap configurations.

Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Link: https://patch.msgid.link/20251216084931.553328-1-alexander.stein@ew.tq-group.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 90ed6887
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1323,6 +1323,7 @@ static const struct reg_default fsl_xcvr_phy_reg_defaults[] = {
};

static const struct regmap_config fsl_xcvr_regmap_phy_cfg = {
	.name = "phy",
	.reg_bits = 8,
	.reg_stride = 4,
	.val_bits = 32,
@@ -1335,6 +1336,7 @@ static const struct regmap_config fsl_xcvr_regmap_phy_cfg = {
};

static const struct regmap_config fsl_xcvr_regmap_pllv0_cfg = {
	.name = "pllv0",
	.reg_bits = 8,
	.reg_stride = 4,
	.val_bits = 32,
@@ -1345,6 +1347,7 @@ static const struct regmap_config fsl_xcvr_regmap_pllv0_cfg = {
};

static const struct regmap_config fsl_xcvr_regmap_pllv1_cfg = {
	.name = "pllv1",
	.reg_bits = 8,
	.reg_stride = 4,
	.val_bits = 32,