brcm2708: update linux 4.4 patches to latest version
[openwrt/staging/dedeckeh.git] / target / linux / brcm2708 / patches-4.4 / 0017-bcm2835-i2s-Eliminate-debugfs-directory-error.patch
1 From 08c03b0127c99d816f84a03d9f62c2b8313b359e 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/304] bcm2835-i2s: Eliminate debugfs directory error
5
6 Code ported from bcm2708-i2s driver in Raspberry Pi tree.
7
8 RPi commit fd7d7a3dbe9262d16971ef81c234ed28c6499dd7 ("bcm2708:
9 Eliminate i2s debugfs directory error")
10
11 Qualify the two regmap ranges uses by bcm2708-i2s ('-i2s' and '-clk')
12 to avoid the name clash when registering debugfs entries.
13
14 Signed-off-by: Matthias Reichl <hias@horus.com>
15 ---
16 sound/soc/bcm/bcm2835-i2s.c | 2 ++
17 1 file changed, 2 insertions(+)
18
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,
25 + .name = "i2s",
26 },
27 {
28 .reg_bits = 32,
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,
33 + .name = "clk",
34 },
35 };
36