Skip to contentSkip to conversation

omap-alsa-tsc2101: fix iPAQ h6300 playback.

PATCH In review lamikr 1 participant 1 message Mar 30, 2006 Sound

lore
Share & tools
lore

lamikr

author
#0 lore raw

PATCH 5/5 omap-alsa-tsc2101: fix iPAQ h6300 playback.

Quoted 1 line

From nobody Mon Sep 17 00:00:00 2001

From: lamikr <[email protected])>
Date: Fri Mar 31 01:28:30 2006 +0300
Subject: [PATCH 5/5] omap-alsa-tsc2101: fix iPAQ h6300 playback.

---

 sound/arm/omap/omap-alsa-tsc2101.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

30d54226a403e3c7d8cfb06aebffa005f5392bcb

sound/arm/omap/omap-alsa-tsc2101.c +5 -1
index c3abe1d..14afcc6 100644
@@ -96,7 +96,11 @@ static const struct tsc2101_samplerate_r
 static snd_pcm_hardware_t tsc2101_snd_omap_alsa_playback = {
 	.info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
 		 SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID),	
-	.formats = (SNDRV_PCM_FMTBIT_S16_LE),
+#ifdef CONFIG_MACH_OMAP_H6300
+	.formats = (SNDRV_PCM_FMTBIT_S8),
+#else
+ 	.formats = (SNDRV_PCM_FMTBIT_S16_LE),
+#endif
 	.rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |
 		  SNDRV_PCM_RATE_16000 |
 		  SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |
Signature · 1 line
1.2.2