diff options
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0035-Enable-multiple-ALSA-channels.patch')
-rw-r--r-- | target/linux/brcm2708/patches-3.10/0035-Enable-multiple-ALSA-channels.patch | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0035-Enable-multiple-ALSA-channels.patch b/target/linux/brcm2708/patches-3.10/0035-Enable-multiple-ALSA-channels.patch new file mode 100644 index 0000000000..48584eff40 --- /dev/null +++ b/target/linux/brcm2708/patches-3.10/0035-Enable-multiple-ALSA-channels.patch @@ -0,0 +1,72 @@ +From 10a2ded6cbf58da71121f0c7a35462f52f49dfae Mon Sep 17 00:00:00 2001 +From: popcornmix <popcornmix@gmail.com> +Date: Wed, 17 Apr 2013 12:16:36 +0100 +Subject: [PATCH 035/174] Enable multiple ALSA channels + +--- + arch/arm/mach-bcm2708/bcm2708.c | 54 ++++++++++++++++++++++++++++++++++++----- + 1 file changed, 48 insertions(+), 6 deletions(-) + +--- a/arch/arm/mach-bcm2708/bcm2708.c ++++ b/arch/arm/mach-bcm2708/bcm2708.c +@@ -471,12 +471,54 @@ struct platform_device bcm2708_powerman_ + + + static struct platform_device bcm2708_alsa_devices[] = { +- [0] = { +- .name = "bcm2835_AUD0", +- .id = 0, /* first audio device */ +- .resource = 0, +- .num_resources = 0, +- }, ++ [0] = { ++ .name = "bcm2835_AUD0", ++ .id = 0, /* first audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, ++ [1] = { ++ .name = "bcm2835_AUD1", ++ .id = 1, /* second audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, ++ [2] = { ++ .name = "bcm2835_AUD2", ++ .id = 2, /* third audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, ++ [3] = { ++ .name = "bcm2835_AUD3", ++ .id = 3, /* forth audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, ++ [4] = { ++ .name = "bcm2835_AUD4", ++ .id = 4, /* fifth audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, ++ [5] = { ++ .name = "bcm2835_AUD5", ++ .id = 5, /* sixth audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, ++ [6] = { ++ .name = "bcm2835_AUD6", ++ .id = 6, /* seventh audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, ++ [7] = { ++ .name = "bcm2835_AUD7", ++ .id = 7, /* eighth audio device */ ++ .resource = 0, ++ .num_resources = 0, ++ }, + }; + + static struct resource bcm2708_spi_resources[] = { |