aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-02-09 00:11:50 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-02-09 00:11:50 +0000
commit40ba15806fcd52982135c367f49a8ac3ce85913f (patch)
tree09f98f7bcc5053c972d2be6bb9192a79a40d7fdb /target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
parent7c8f9f56301c4d6a6e3bcfc89e407dc5289f5b42 (diff)
downloadupstream-40ba15806fcd52982135c367f49a8ac3ce85913f.tar.gz
upstream-40ba15806fcd52982135c367f49a8ac3ce85913f.tar.bz2
upstream-40ba15806fcd52982135c367f49a8ac3ce85913f.zip
upgrade to 2.6.32.7, switch to squashfs, remove broken flag
SVN-Revision: 19562
Diffstat (limited to 'target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch')
-rw-r--r--target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch b/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
deleted file mode 100644
index e7d8a10b7a..0000000000
--- a/target/linux/pxa/patches-2.6.21/026-pcm-gcc-411-bugfix.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/include/sound/pcm_params.h
-+++ b/include/sound/pcm_params.h
-@@ -179,16 +179,8 @@ static inline int snd_mask_single(const
- return 1;
- }
-
--static inline int snd_mask_refine(struct snd_mask *mask,
-- const struct snd_mask *v)
--{
-- struct snd_mask old;
-- snd_mask_copy(&old, mask);
-- snd_mask_intersect(mask, v);
-- if (snd_mask_empty(mask))
-- return -EINVAL;
-- return !snd_mask_eq(mask, &old);
--}
-+void snd_mask_print( const struct snd_mask *m1, const struct snd_mask *m2 );
-+int snd_mask_refine(struct snd_mask *mask, const struct snd_mask *v);
-
- static inline int snd_mask_refine_first(struct snd_mask *mask)
- {
---- a/sound/core/pcm_lib.c
-+++ b/sound/core/pcm_lib.c
-@@ -2128,3 +2128,18 @@ snd_pcm_sframes_t snd_pcm_lib_readv(stru
- }
-
- EXPORT_SYMBOL(snd_pcm_lib_readv);
-+
-+int snd_mask_refine(struct snd_mask *mask,
-+ const struct snd_mask *v)
-+{
-+ struct snd_mask old;
-+ snd_mask_copy(&old, mask);
-+ snd_mask_print(mask, v);
-+ snd_mask_intersect(mask, v);
-+ snd_mask_print(mask, v);
-+ if (snd_mask_empty(mask))
-+ return -EINVAL;
-+ return !snd_mask_eq(mask, &old);
-+}
-+
-+EXPORT_SYMBOL(snd_mask_refine);
---- a/sound/core/pcm_native.c
-+++ b/sound/core/pcm_native.c
-@@ -3450,3 +3450,9 @@ const struct file_operations snd_pcm_f_o
- .fasync = snd_pcm_fasync,
- }
- };
-+
-+void snd_mask_print( const struct snd_mask *m1, const struct snd_mask *m2 )
-+{
-+// printk( "0x%08x %08x v: 0x%08x %08x\n", m1->bits[1], m1->bits[0], m2->bits[1], m2->bits[0] );
-+}
-+