summaryrefslogtreecommitdiff
path: root/packages/alsa
diff options
context:
space:
mode:
Diffstat (limited to 'packages/alsa')
-rw-r--r--packages/alsa/alsa-driver/sa11xx.patch38
-rw-r--r--packages/alsa/alsa-driver_0.9.6-hh4c.bb4
2 files changed, 41 insertions, 1 deletions
diff --git a/packages/alsa/alsa-driver/sa11xx.patch b/packages/alsa/alsa-driver/sa11xx.patch
new file mode 100644
index 0000000000..34509b13b0
--- /dev/null
+++ b/packages/alsa/alsa-driver/sa11xx.patch
@@ -0,0 +1,38 @@
+--- ./alsa-kernel/arm/sa11xx-uda1341.c 2005-06-27 12:59:53.000000000 +0200
++++ ./alsa-kernel/arm/sa11xx-uda1341.c.orig 2005-06-27 12:59:29.000000000 +0200
+@@ -366,7 +366,7 @@
+ DEBUG("\t request id <%s>\n", s->id);
+ DEBUG("\t request dma_dev = 0x%x \n", s->dma_dev);
+ if((ret = sa1100_request_dma((s)->dma_dev, (s)->id, callback, s, &((s)->dma_regs))))
+- printk(__FUNCTION__ ": sa1100_request_dma returned %d\n",ret);
++ printk("%s: sa1100_request_dma returned %d\n",__FUNCTION__,ret);
+
+
+
+@@ -978,7 +978,7 @@
+ switch (req) {
+ case PM_SUSPEND: /* enter D1-D3 */
+ if (card->power_state == SNDRV_CTL_POWER_D3hot){
+- printk(__FUNCTION__ ": exiting eraly from suspend\n");
++ printk("%s: exiting eraly from suspend\n",__FUNCTION__);
+ return 0;
+ }
+ snd_power_lock(card);
+@@ -1002,7 +1002,7 @@
+ case PM_RESUME: /* enter D0 */
+
+ if (card->power_state == SNDRV_CTL_POWER_D0){
+- printk(__FUNCTION__ ": exiting eraly from resume\n");
++ printk("%s: exiting eraly from resume\n",__FUNCTION__);
+ return 0;
+ }
+ snd_power_lock(card);
+@@ -1020,7 +1020,7 @@
+
+ break;
+ }
+- printk(KERN_DEBUG __FUNCTION__": exiting...\n");
++ printk(KERN_DEBUG "%s: exiting...\n",__FUNCTION__);
+ return 0;
+
+ }
diff --git a/packages/alsa/alsa-driver_0.9.6-hh4c.bb b/packages/alsa/alsa-driver_0.9.6-hh4c.bb
index bf307d13e2..b045af116a 100644
--- a/packages/alsa/alsa-driver_0.9.6-hh4c.bb
+++ b/packages/alsa/alsa-driver_0.9.6-hh4c.bb
@@ -3,11 +3,13 @@ MAINTAINER = "Pigi"
SECTION = "console/utils"
LICENSE = "GPL"
#DEPENDS = "alsa-lib"
+PR = "r1"
+
SRC_URI = "ftp://ftp.handhelds.org/packages/alsa-driver/alsa-driver-${PV}.tar.gz \
file://sound.p.patch;patch=1 \
- file://h5400.patch;patch=1 \
+ file://sa11xx.patch;patch=1 \
file://adriver.h.patch;patch=1 "
#inherit autotools