summaryrefslogtreecommitdiff
path: root/target/arm/bcm28xx/patches/3.18.6/0002-allow-to-control-volume-for-each-channel.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-08 20:09:58 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-09 19:09:47 +0100
commitfbddcd227c26995d2933517b9dbb2d7dd3d5c9b6 (patch)
tree5ebc2dd46911e16b49dea7a569deb7879813fc40 /target/arm/bcm28xx/patches/3.18.6/0002-allow-to-control-volume-for-each-channel.patch
parent2456b5f30e399a30e9064dd7c42154386cff19c4 (diff)
add basic support for raspberry pi2
Introduce new board symbols for embedded systems, which use the similar board as basis. As for example raspberry pi and raspberry pi2. And some more updates: Update binutils to 2.25, set gcc 4.9.2 as default. Update glibc to 2.21, set as default. Update gdb to 7.8.2. Update kodi to latest release.
Diffstat (limited to 'target/arm/bcm28xx/patches/3.18.6/0002-allow-to-control-volume-for-each-channel.patch')
-rw-r--r--target/arm/bcm28xx/patches/3.18.6/0002-allow-to-control-volume-for-each-channel.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/arm/bcm28xx/patches/3.18.6/0002-allow-to-control-volume-for-each-channel.patch b/target/arm/bcm28xx/patches/3.18.6/0002-allow-to-control-volume-for-each-channel.patch
new file mode 100644
index 000000000..76634e2e8
--- /dev/null
+++ b/target/arm/bcm28xx/patches/3.18.6/0002-allow-to-control-volume-for-each-channel.patch
@@ -0,0 +1,26 @@
+From 05ca0b1b73f368564aef8cc4763e96a218cfefeb Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbrodkorb@conet.de>
+Date: Mon, 2 Feb 2015 09:51:56 +0100
+Subject: [PATCH 2/2] allow to control volume for each channel
+
+Signed-off-by: Waldemar Brodkorb <wbrodkorb@conet.de>
+---
+ sound/arm/bcm2835-ctl.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sound/arm/bcm2835-ctl.c b/sound/arm/bcm2835-ctl.c
+index aad905f..12e77f5 100755
+--- a/sound/arm/bcm2835-ctl.c
++++ b/sound/arm/bcm2835-ctl.c
+@@ -45,7 +45,7 @@ static int snd_bcm2835_ctl_info(struct snd_kcontrol *kcontrol,
+ audio_info(" ... IN\n");
+ if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) {
+ uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
+- uinfo->count = 1;
++ uinfo->count = 2;
+ uinfo->value.integer.min = CTRL_VOL_MIN;
+ uinfo->value.integer.max = CTRL_VOL_MAX; /* 2303 */
+ } else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) {
+--
+1.9.1
+