---
 sound/soc/pxa/pxa2xx-i2s.c |    4 ++++
 sound/soc/pxa/pxa2xx-pcm.c |    6 +++---
 3 files changed, 22 insertions(+), 4 deletions(-)

Index: linux-2.6.17/sound/soc/pxa/pxa2xx-i2s.c
===================================================================
--- linux-2.6.17.orig/sound/soc/pxa/pxa2xx-i2s.c	2006-09-06 16:51:55.000000000 +0100
+++ linux-2.6.17/sound/soc/pxa/pxa2xx-i2s.c	2006-09-07 21:33:42.000000000 +0100
@@ -107,7 +107,11 @@ static pxa2xx_gpio_t gpio_bus[] = {
 		.frm = GPIO31_SYNC_I2S_MD,
 	},
 	{ /* I2S SoC Master */
+#ifdef CONFIG_PXA27x
+               .sys = GPIO113_I2S_SYSCLK_MD,
+#else
 		.sys = GPIO32_SYSCLK_I2S_MD,
+#endif
 		.rx = GPIO29_SDATA_IN_I2S_MD,
 		.tx = GPIO30_SDATA_OUT_I2S_MD,
 		.clk = GPIO28_BITCLK_OUT_I2S_MD,
Index: linux-2.6.17/sound/soc/pxa/pxa2xx-pcm.c
===================================================================
--- linux-2.6.17.orig/sound/soc/pxa/pxa2xx-pcm.c	2006-09-07 22:07:05.000000000 +0100
+++ linux-2.6.17/sound/soc/pxa/pxa2xx-pcm.c	2006-09-07 23:43:03.000000000 +0100
@@ -35,9 +35,9 @@ static const struct snd_pcm_hardware pxa
 				  SNDRV_PCM_INFO_INTERLEAVED |
 				  SNDRV_PCM_INFO_PAUSE |
 				  SNDRV_PCM_INFO_RESUME,
-	.formats		= SNDRV_PCM_FMTBIT_S16_LE |
-					SNDRV_PCM_FMTBIT_S24_LE |
-					SNDRV_PCM_FMTBIT_S32_LE,
+	.formats		= SNDRV_PCM_FMTBIT_S16_LE,// |
+//					SNDRV_PCM_FMTBIT_S24_LE |
+//					SNDRV_PCM_FMTBIT_S32_LE,
 	.period_bytes_min	= 32,
 	.period_bytes_max	= 8192 - 32,
 	.periods_min		= 1,

