summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-timberdale-audio-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-timberdale-audio-fix.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-timberdale-audio-fix.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-timberdale-audio-fix.patch b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-timberdale-audio-fix.patch
new file mode 100644
index 0000000000..19fdf6db60
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-timberdale-audio-fix.patch
@@ -0,0 +1,23 @@
1diff -uNr linux-2.6.32.orig/sound/drivers/timbi2s.c linux-2.6.32.new/sound/drivers/timbi2s.c
2--- linux-2.6.32.orig/sound/drivers/timbi2s.c 2010-02-10 10:48:58.000000000 -0800
3+++ linux-2.6.32.new/sound/drivers/timbi2s.c 2010-02-10 10:51:46.000000000 -0800
4@@ -30,6 +30,10 @@
5 #include <sound/initval.h>
6 #include <sound/timbi2s.h>
7
8+static int index = SNDRV_DEFAULT_IDX1;
9+module_param(index, int, 0444);
10+MODULE_PARM_DESC(index, "Index value for Timberdale I2S.");
11+
12 #define DRIVER_NAME "timb-i2s"
13
14 #define MAX_BUSSES 10
15@@ -645,7 +649,7 @@
16 goto out;
17 }
18
19- err = snd_card_create(SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1,
20+ err = snd_card_create(index, SNDRV_DEFAULT_STR1,
21 THIS_MODULE, sizeof(struct timbi2s) +
22 sizeof(struct timbi2s_bus) * pdata->num_busses, &card);
23 if (err)