1 From b963ad6ff4edc8996000399529e0019a1e8b4dde Mon Sep 17 00:00:00 2001
2 From: Matthias Reichl <hias@horus.com>
3 Date: Sun, 11 Oct 2015 15:49:51 +0200
4 Subject: [PATCH 017/381] bcm2835-i2s: Eliminate debugfs directory error
6 Code ported from bcm2708-i2s driver in Raspberry Pi tree.
8 RPi commit fd7d7a3dbe9262d16971ef81c234ed28c6499dd7 ("bcm2708:
9 Eliminate i2s debugfs directory error")
11 Qualify the two regmap ranges uses by bcm2708-i2s ('-i2s' and '-clk')
12 to avoid the name clash when registering debugfs entries.
14 Signed-off-by: Matthias Reichl <hias@horus.com>
16 sound/soc/bcm/bcm2835-i2s.c | 2 ++
17 1 file changed, 2 insertions(+)
19 --- a/sound/soc/bcm/bcm2835-i2s.c
20 +++ b/sound/soc/bcm/bcm2835-i2s.c
21 @@ -782,6 +782,7 @@ static const struct regmap_config bcm283
22 .precious_reg = bcm2835_i2s_precious_reg,
23 .volatile_reg = bcm2835_i2s_volatile_reg,
24 .cache_type = REGCACHE_RBTREE,
29 @@ -790,6 +791,7 @@ static const struct regmap_config bcm283
30 .max_register = BCM2835_CLK_PCMDIV_REG,
31 .volatile_reg = bcm2835_clk_volatile_reg,
32 .cache_type = REGCACHE_RBTREE,