summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhari <hnagalla@ti.com>2009-11-23 15:21:22 -0600
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2009-11-24 11:19:26 +0530
commitef686bbf7f60cb7a5bc37208c3b1e3010c7c48e2 (patch)
tree4a0ae515e778e559a74e78facc9510be3c609846
parent7de2fde1046f731ff49a300291331a9b8e491b1e (diff)
ASoC: OMAP4: HDMI Audio driver fix for Stereo
HDMI audio driver restricted to support stereo, 16b at 48Khz Signed-off-by: hari <hnagalla@ti.com> Signed-off-by: Jorge Eduardo Candelaria <x0107209@ti.com>
-rw-r--r--sound/soc/omap/omap-hdmi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c
index 708cfd84f1b5..cdb6132a994c 100644
--- a/sound/soc/omap/omap-hdmi.c
+++ b/sound/soc/omap/omap-hdmi.c
@@ -37,7 +37,9 @@
#include <mach/hdmi_lib.h>
#define OMAP_HDMI_RATES (SNDRV_PCM_RATE_48000)
-#define OMAP_HDMI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE)
+
+/* Currently, we support only 16b samples at HDMI */
+#define OMAP_HDMI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE)
HDMI_AudioFormat_t audio_format_param;
HDMI_AudioDma_t audio_dma_param;
@@ -131,7 +133,8 @@ struct snd_soc_dai omap_hdmi_dai = {
.id = -1,
.playback = {
.channels_min = 2,
- .channels_max = 8,
+ /* currently we support only stereo HDMI */
+ .channels_max = 2,
.rates = OMAP_HDMI_RATES,
.formats = OMAP_HDMI_FORMATS,
},