diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-06-28 21:00:22 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-06-28 21:00:22 +0000 |
commit | 64e2c0cfda81653b398802384879874bcda122db (patch) | |
tree | e875177c3945f5122c0edaf4451f49bd52ea72fd /target/linux/s3c24xx/patches-2.6.30/010-s3c-dma.patch | |
parent | b4066ae91a2443ba1b8174ebd7abede8f2a47062 (diff) | |
download | upstream-64e2c0cfda81653b398802384879874bcda122db.tar.gz upstream-64e2c0cfda81653b398802384879874bcda122db.tar.bz2 upstream-64e2c0cfda81653b398802384879874bcda122db.zip |
Cleanup sound patch.
SVN-Revision: 16611
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.30/010-s3c-dma.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.30/010-s3c-dma.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.30/010-s3c-dma.patch b/target/linux/s3c24xx/patches-2.6.30/010-s3c-dma.patch index 3d31f27118..871514a6e6 100644 --- a/target/linux/s3c24xx/patches-2.6.30/010-s3c-dma.patch +++ b/target/linux/s3c24xx/patches-2.6.30/010-s3c-dma.patch @@ -1288,3 +1288,36 @@ #include <mach/regs-mem.h> #include <mach/regs-lcd.h> #include <mach/regs-sdi.h> +--- a/sound/soc/s3c24xx/s3c24xx-pcm.c 2009-06-10 05:05:27.000000000 +0200 ++++ b/sound/soc/s3c24xx/s3c24xx-pcm.c 2009-05-16 13:25:48.000000000 +0200 +@@ -218,23 +231,16 @@ + * sync to pclk, half-word transfers to the IIS-FIFO. */ + if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { + s3c2410_dma_devconfig(prtd->params->channel, +- S3C2410_DMASRC_MEM, S3C2410_DISRCC_INC | +- S3C2410_DISRCC_APB, prtd->params->dma_addr); +- +- s3c2410_dma_config(prtd->params->channel, +- prtd->params->dma_size, +- S3C2410_DCON_SYNC_PCLK | +- S3C2410_DCON_HANDSHAKE); ++ S3C2410_DMASRC_MEM, ++ prtd->params->dma_addr); + } else { +- s3c2410_dma_config(prtd->params->channel, +- prtd->params->dma_size, +- S3C2410_DCON_HANDSHAKE | +- S3C2410_DCON_SYNC_PCLK); +- + s3c2410_dma_devconfig(prtd->params->channel, +- S3C2410_DMASRC_HW, 0x3, +- prtd->params->dma_addr); ++ S3C2410_DMASRC_HW, ++ prtd->params->dma_addr); + } ++ ++ s3c2410_dma_config(prtd->params->channel, ++ prtd->params->dma_size); + + /* flush the DMA channel */ + s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_FLUSH); |