ASoC: fsl_xcvr: provide regmap names
Subsystems (4)
Fabio Estevam
reviewerFrom: Alexander Stein <[email protected]>
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.
--- sound/soc/fsl/fsl_xcvr.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/fsl/fsl_xcvr.c +3 -0
@@ -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 ,
Signature · 1 line
cgit 1.2.3-korg
Fabio Estevam
reviewerPATCH 1/1 ASoC: fsl_xcvr: provide regmap names
From: Alexander Stein <[email protected]>
commit 08fd332eeb88515af4f1892d91f6ef4ea7558b71 upstream.
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.
--- sound/soc/fsl/fsl_xcvr.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/fsl/fsl_xcvr.c +3 -0
@@ -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 ,
Signature · 1 line
2.34.1
Greg KH
maintainerQuoted 9 lines · Fabio Estevam
From: Alexander Stein <[email protected]>
commit
08fd332eeb88515af4f1892d91f6ef4ea7558b71upstream.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.
Quoted 7 lines
Signed-off-by Alexander Stein <[email protected]>Signed-off-by Mark Brown <[email protected]>Signed-off-by Fabio Estevam <[email protected]>--- sound/soc/fsl/fsl_xcvr.c | 3 +++ 1 file changed, 3 insertions(+)
What kernel tree(s) is this for?
Fabio Estevam
reviewerHi Greg,
Quoted 1 line · Greg KH
What kernel tree(s) is this for?
6.18 stable, please.
Thanks