public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* ASoC: fsl_xcvr: provide regmap names
@ 2026-03-03 13:21 Fabio Estevam
  2026-03-03 13:21 ` [PATCH stable] " Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2026-03-03 13:21 UTC (permalink / raw)
  To: stable; +Cc: broonie, alexander.stein, linux-sound

From: Alexander Stein <alexander.stein@ew.tq-group.com>

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>
---
 sound/soc/fsl/fsl_xcvr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 06434b2c9a0fb0..a268fb81a2f868 100644
--- a/sound/soc/fsl/fsl_xcvr.c
+++ b/sound/soc/fsl/fsl_xcvr.c
@@ -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,
-- 
cgit 1.2.3-korg

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH stable] ASoC: fsl_xcvr: provide regmap names
  2026-03-03 13:21 ASoC: fsl_xcvr: provide regmap names Fabio Estevam
@ 2026-03-03 13:21 ` Fabio Estevam
  2026-03-04  9:08   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2026-03-03 13:21 UTC (permalink / raw)
  To: stable; +Cc: broonie, alexander.stein, linux-sound, Fabio Estevam

From: Alexander Stein <alexander.stein@ew.tq-group.com>

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.

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>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 sound/soc/fsl/fsl_xcvr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 58db4906a01d..64eaa2fdeab7 100644
--- a/sound/soc/fsl/fsl_xcvr.c
+++ b/sound/soc/fsl/fsl_xcvr.c
@@ -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,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH stable] ASoC: fsl_xcvr: provide regmap names
  2026-03-03 13:21 ` [PATCH stable] " Fabio Estevam
@ 2026-03-04  9:08   ` Greg KH
  2026-03-04 11:18     ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2026-03-04  9:08 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: stable, broonie, alexander.stein, linux-sound

On Tue, Mar 03, 2026 at 10:21:43AM -0300, Fabio Estevam wrote:
> From: Alexander Stein <alexander.stein@ew.tq-group.com>
> 
> 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.
> 
> 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>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  sound/soc/fsl/fsl_xcvr.c | 3 +++
>  1 file changed, 3 insertions(+)

What kernel tree(s) is this for?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH stable] ASoC: fsl_xcvr: provide regmap names
  2026-03-04  9:08   ` Greg KH
@ 2026-03-04 11:18     ` Fabio Estevam
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2026-03-04 11:18 UTC (permalink / raw)
  To: Greg KH; +Cc: stable, broonie, alexander.stein, linux-sound

Hi Greg,

On Wed, Mar 4, 2026 at 6:08 AM Greg KH <gregkh@linuxfoundation.org> wrote:

> What kernel tree(s) is this for?

6.18 stable, please.

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-04 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 13:21 ASoC: fsl_xcvr: provide regmap names Fabio Estevam
2026-03-03 13:21 ` [PATCH stable] " Fabio Estevam
2026-03-04  9:08   ` Greg KH
2026-03-04 11:18     ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox