Skip to content

Commit 08fd332

Browse files
tq-steinabroonie
authored andcommitted
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: Alexander Stein <alexander.stein@ew.tq-group.com> Link: https://patch.msgid.link/20251216084931.553328-1-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 90ed688 commit 08fd332

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sound/soc/fsl/fsl_xcvr.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,6 +1323,7 @@ static const struct reg_default fsl_xcvr_phy_reg_defaults[] = {
13231323
};
13241324

13251325
static const struct regmap_config fsl_xcvr_regmap_phy_cfg = {
1326+
.name = "phy",
13261327
.reg_bits = 8,
13271328
.reg_stride = 4,
13281329
.val_bits = 32,
@@ -1335,6 +1336,7 @@ static const struct regmap_config fsl_xcvr_regmap_phy_cfg = {
13351336
};
13361337

13371338
static const struct regmap_config fsl_xcvr_regmap_pllv0_cfg = {
1339+
.name = "pllv0",
13381340
.reg_bits = 8,
13391341
.reg_stride = 4,
13401342
.val_bits = 32,
@@ -1345,6 +1347,7 @@ static const struct regmap_config fsl_xcvr_regmap_pllv0_cfg = {
13451347
};
13461348

13471349
static const struct regmap_config fsl_xcvr_regmap_pllv1_cfg = {
1350+
.name = "pllv1",
13481351
.reg_bits = 8,
13491352
.reg_stride = 4,
13501353
.val_bits = 32,

0 commit comments

Comments
 (0)