mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
bcm2835-i2s: Eliminate debugfs directory error
Code ported from bcm2708-i2s driver in Raspberry Pi tree.
RPi commit fd7d7a3dbe ("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.
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
committed by
popcornmix
parent
ccce163feb
commit
c1429003b0
@@ -782,6 +782,7 @@ static const struct regmap_config bcm2835_regmap_config[] = {
|
||||
.precious_reg = bcm2835_i2s_precious_reg,
|
||||
.volatile_reg = bcm2835_i2s_volatile_reg,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.name = "i2s",
|
||||
},
|
||||
{
|
||||
.reg_bits = 32,
|
||||
@@ -790,6 +791,7 @@ static const struct regmap_config bcm2835_regmap_config[] = {
|
||||
.max_register = BCM2835_CLK_PCMDIV_REG,
|
||||
.volatile_reg = bcm2835_clk_volatile_reg,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.name = "clk",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user