aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst/patches-3.2/0015-ASoC-JZ4740-Replaced-comma-operators-with-semicolons.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-04-08 12:09:52 +0000
committerMirko Vogt <mirko@openwrt.org>2012-04-08 12:09:52 +0000
commitb0971e69f2ff110d6fc6e52a601e4e87d707e758 (patch)
treed594fb132701a129c7777b38ed192e9ccbe39987 /target/linux/xburst/patches-3.2/0015-ASoC-JZ4740-Replaced-comma-operators-with-semicolons.patch
parent626e1717642e933af0f15a387caadb16178c0254 (diff)
downloadupstream-b0971e69f2ff110d6fc6e52a601e4e87d707e758.tar.gz
upstream-b0971e69f2ff110d6fc6e52a601e4e87d707e758.tar.bz2
upstream-b0971e69f2ff110d6fc6e52a601e4e87d707e758.zip
level up target xburst to linux kernel version 3.2.1
Thanks to the qi-hardware project - especially to Lars, Maarten and Xiangfu SVN-Revision: 31218
Diffstat (limited to 'target/linux/xburst/patches-3.2/0015-ASoC-JZ4740-Replaced-comma-operators-with-semicolons.patch')
-rw-r--r--target/linux/xburst/patches-3.2/0015-ASoC-JZ4740-Replaced-comma-operators-with-semicolons.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-3.2/0015-ASoC-JZ4740-Replaced-comma-operators-with-semicolons.patch b/target/linux/xburst/patches-3.2/0015-ASoC-JZ4740-Replaced-comma-operators-with-semicolons.patch
new file mode 100644
index 0000000000..2bf28ce769
--- /dev/null
+++ b/target/linux/xburst/patches-3.2/0015-ASoC-JZ4740-Replaced-comma-operators-with-semicolons.patch
@@ -0,0 +1,36 @@
+From 515f8006c03e1065bf98c9148a9ea787e2d120d3 Mon Sep 17 00:00:00 2001
+From: Maarten ter Huurne <maarten@treewalker.org>
+Date: Wed, 10 Aug 2011 00:20:16 +0200
+Subject: [PATCH 15/21] ASoC: JZ4740: Replaced comma operators with
+ semicolons.
+
+They were harmless but also unnecessary, probably a leftover from earlier code.
+---
+ sound/soc/jz4740/jz4740-i2s.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-i2s.c
+index cd22a54..d28b4cc 100644
+--- a/sound/soc/jz4740/jz4740-i2s.c
++++ b/sound/soc/jz4740/jz4740-i2s.c
+@@ -346,7 +346,7 @@ static void jz4740_i2c_init_pcm_config(struct jz4740_i2s *i2s)
+
+ /* Playback */
+ dma_config = &i2s->pcm_config_playback.dma_config;
+- dma_config->src_width = JZ4740_DMA_WIDTH_32BIT,
++ dma_config->src_width = JZ4740_DMA_WIDTH_32BIT;
+ dma_config->transfer_size = JZ4740_DMA_TRANSFER_SIZE_16BYTE;
+ dma_config->request_type = JZ4740_DMA_TYPE_AIC_TRANSMIT;
+ dma_config->flags = JZ4740_DMA_SRC_AUTOINC;
+@@ -355,7 +355,7 @@ static void jz4740_i2c_init_pcm_config(struct jz4740_i2s *i2s)
+
+ /* Capture */
+ dma_config = &i2s->pcm_config_capture.dma_config;
+- dma_config->dst_width = JZ4740_DMA_WIDTH_32BIT,
++ dma_config->dst_width = JZ4740_DMA_WIDTH_32BIT;
+ dma_config->transfer_size = JZ4740_DMA_TRANSFER_SIZE_16BYTE;
+ dma_config->request_type = JZ4740_DMA_TYPE_AIC_RECEIVE;
+ dma_config->flags = JZ4740_DMA_DST_AUTOINC;
+--
+1.7.5.4
+