Skip to content

Commit

Permalink
bcm2708: Eliminate i2s debugfs directory error
Browse files Browse the repository at this point in the history
Qualify the two regmap ranges uses by bcm2708-i2s ('-i2s' and '-clk')
to avoid the name clash when registering debugfs entries.
  • Loading branch information
Phil Elwell authored and popcornmix committed Oct 17, 2014
1 parent 46deefd commit fd7d7a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/bcm/bcm2708-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ static const struct regmap_config bcm2708_regmap_config[] = {
.precious_reg = bcm2708_i2s_precious_reg,
.volatile_reg = bcm2708_i2s_volatile_reg,
.cache_type = REGCACHE_RBTREE,
.name = "i2s",
},
{
.reg_bits = 32,
Expand All @@ -861,6 +862,7 @@ static const struct regmap_config bcm2708_regmap_config[] = {
.max_register = BCM2708_CLK_PCMDIV_REG,
.volatile_reg = bcm2708_clk_volatile_reg,
.cache_type = REGCACHE_RBTREE,
.name = "clk",
},
};

Expand Down

0 comments on commit fd7d7a3

Please sign in to comment.