summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-14 15:52:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-14 15:52:42 +0000
commit16defbb2bd9478f9e5384b9722f20a694e6bae41 (patch)
treef52e202c30c7fca103b196ece1223e18446e4dfc /target/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch
parentb4644aedce6526b5d07b336187c8e6417c7dd75e (diff)
downloadmtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.zip
mtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.gz
mtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.bz2
nuke obsolete kernel stuff
SVN-Revision: 14875
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch b/target/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch
deleted file mode 100755
index dac5145..0000000
--- a/target/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 6543660c429224f3cb8c9d16c786a521d0fc2969 Mon Sep 17 00:00:00 2001
-From: Andy Green <andy@openmoko.com>
-Date: Fri, 25 Jul 2008 23:06:06 +0100
-Subject: [PATCH] tracking-2.6.25-changed-s3c2410_dma_request-reurn.patch
-
-s3c2410_dma_request used to return 0 for OK and something else
-for error, now it returns -ve error code or +ve dma channel index + flag
-
-Signed-off-by: Andy Green <andy@openmoko.com>
----
- drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c | 3 ++-
- sound/soc/s3c24xx/s3c24xx-pcm.c | 2 +-
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c b/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c
-index 8c3bbbc..af0066d 100644
---- a/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c
-+++ b/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c
-@@ -1192,7 +1192,8 @@ static int s3c24xx_hcd_hw_init(struct s3c24xx_hcd_context * context)
-
- }
-
-- if (s3c2410_dma_request(context->dma_channel, &s3c24xx_hcd_dma_client, NULL)) {
-+ if (s3c2410_dma_request(context->dma_channel, &s3c24xx_hcd_dma_client,
-+ NULL) < 0) {
- DBG_PRINT(SDDBG_ERROR, ("unable to get DMA channel.\n"));
- status = -ENOENT;
- goto out_free_dma;
-diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.c b/sound/soc/s3c24xx/s3c24xx-pcm.c
-index 7806ae6..40abef1 100644
---- a/sound/soc/s3c24xx/s3c24xx-pcm.c
-+++ b/sound/soc/s3c24xx/s3c24xx-pcm.c
-@@ -172,7 +172,7 @@ static int s3c24xx_pcm_hw_params(struct snd_pcm_substream *substream,
- prtd->params->client, NULL);
-
- if (ret < 0) {
-- DBG(KERN_ERR "failed to get dma channel\n");
-+ DBG(KERN_ERR "failed to get dma channel: %d\n", ret);
- return ret;
- }
- }
---
-1.5.6.3
-