brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
[openwrt/staging/lynxis/omap.git] / target / linux / brcm2708 / patches-3.10 / 0035-Enable-multiple-ALSA-channels.patch
1 From 2be2a87be13a5e4df2e3afb13a6089fcd7073906 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Wed, 17 Apr 2013 12:16:36 +0100
4 Subject: [PATCH 035/196] Enable multiple ALSA channels
5
6 ---
7 arch/arm/mach-bcm2708/bcm2708.c | 54 ++++++++++++++++++++++++++++++++++++-----
8 1 file changed, 48 insertions(+), 6 deletions(-)
9
10 diff --git a/arch/arm/mach-bcm2708/bcm2708.c b/arch/arm/mach-bcm2708/bcm2708.c
11 index ab8bac6..5a7437b 100644
12 --- a/arch/arm/mach-bcm2708/bcm2708.c
13 +++ b/arch/arm/mach-bcm2708/bcm2708.c
14 @@ -471,12 +471,54 @@ struct platform_device bcm2708_powerman_device = {
15
16
17 static struct platform_device bcm2708_alsa_devices[] = {
18 - [0] = {
19 - .name = "bcm2835_AUD0",
20 - .id = 0, /* first audio device */
21 - .resource = 0,
22 - .num_resources = 0,
23 - },
24 + [0] = {
25 + .name = "bcm2835_AUD0",
26 + .id = 0, /* first audio device */
27 + .resource = 0,
28 + .num_resources = 0,
29 + },
30 + [1] = {
31 + .name = "bcm2835_AUD1",
32 + .id = 1, /* second audio device */
33 + .resource = 0,
34 + .num_resources = 0,
35 + },
36 + [2] = {
37 + .name = "bcm2835_AUD2",
38 + .id = 2, /* third audio device */
39 + .resource = 0,
40 + .num_resources = 0,
41 + },
42 + [3] = {
43 + .name = "bcm2835_AUD3",
44 + .id = 3, /* forth audio device */
45 + .resource = 0,
46 + .num_resources = 0,
47 + },
48 + [4] = {
49 + .name = "bcm2835_AUD4",
50 + .id = 4, /* fifth audio device */
51 + .resource = 0,
52 + .num_resources = 0,
53 + },
54 + [5] = {
55 + .name = "bcm2835_AUD5",
56 + .id = 5, /* sixth audio device */
57 + .resource = 0,
58 + .num_resources = 0,
59 + },
60 + [6] = {
61 + .name = "bcm2835_AUD6",
62 + .id = 6, /* seventh audio device */
63 + .resource = 0,
64 + .num_resources = 0,
65 + },
66 + [7] = {
67 + .name = "bcm2835_AUD7",
68 + .id = 7, /* eighth audio device */
69 + .resource = 0,
70 + .num_resources = 0,
71 + },
72 };
73
74 static struct resource bcm2708_spi_resources[] = {
75 --
76 1.9.1
77