Skip to content

Commit fd7d7a3

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
bcm2708: Eliminate i2s debugfs directory error
Qualify the two regmap ranges uses by bcm2708-i2s ('-i2s' and '-clk') to avoid the name clash when registering debugfs entries.
1 parent 46deefd commit fd7d7a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/soc/bcm/bcm2708-i2s.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ static const struct regmap_config bcm2708_regmap_config[] = {
853853
.precious_reg = bcm2708_i2s_precious_reg,
854854
.volatile_reg = bcm2708_i2s_volatile_reg,
855855
.cache_type = REGCACHE_RBTREE,
856+
.name = "i2s",
856857
},
857858
{
858859
.reg_bits = 32,
@@ -861,6 +862,7 @@ static const struct regmap_config bcm2708_regmap_config[] = {
861862
.max_register = BCM2708_CLK_PCMDIV_REG,
862863
.volatile_reg = bcm2708_clk_volatile_reg,
863864
.cache_type = REGCACHE_RBTREE,
865+
.name = "clk",
864866
},
865867
};
866868

0 commit comments

Comments
 (0)