Date:2010-05-23 15:32:32 (10 years 4 months ago)
Author:Maarten ter Huurne
Commit:624774d89f89a52285a8fba942f8b56e11cb5247
Message:jz4740-i2s: Corrected DMA width constants. This driver relied on the wrong encoding in arch/mips/include/asm/mach-jz4740/dma.h, which were fixed recently.

Files: sound/soc/jz4740/jz4740-i2s.c (2 diffs)

Change Details

sound/soc/jz4740/jz4740-i2s.c
9595};
9696
9797static struct jz4740_dma_config jz4740_i2s_dma_playback_config = {
98    .src_width = JZ4740_DMA_WIDTH_16BIT,
99    .dst_width = JZ4740_DMA_WIDTH_32BIT,
98    .src_width = JZ4740_DMA_WIDTH_8BIT,
99    .dst_width = JZ4740_DMA_WIDTH_16BIT,
100100    .transfer_size = JZ4740_DMA_TRANSFER_SIZE_16BYTE,
101101    .request_type = JZ4740_DMA_TYPE_AIC_TRANSMIT,
102102    .flags = JZ4740_DMA_SRC_AUTOINC,
...... 
104104};
105105
106106static struct jz4740_dma_config jz4740_i2s_dma_capture_config = {
107    .src_width = JZ4740_DMA_WIDTH_32BIT,
108    .dst_width = JZ4740_DMA_WIDTH_16BIT,
107    .src_width = JZ4740_DMA_WIDTH_16BIT,
108    .dst_width = JZ4740_DMA_WIDTH_8BIT,
109109    .transfer_size = JZ4740_DMA_TRANSFER_SIZE_16BYTE,
110110    .request_type = JZ4740_DMA_TYPE_AIC_RECEIVE,
111111    .flags = JZ4740_DMA_DST_AUTOINC,

Archive Download the corresponding diff file



interactive