summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHari Nagalla <hnagalla@ti.com>2009-11-23 15:21:22 -0600
committerMargarita Olaya Cabrera <magi.olaya@ti.com>2010-03-30 11:02:04 -0600
commit708eabc51e6a9efdb5f241d5cba8a0a54cfca574 (patch)
treef1160c0b926e9ff9f9a8c4b2bdbc6c0c7bd678a2 /sound
parent145d3a47f8c2ad3438019c0e78c0b9a02909459d (diff)
ASoC: OMAP4: HDMI Audio driver fix for Stereo
HDMI audio driver restricted to support stereo, 16b at 48Khz Signed-off-by: Hari Nagalla <hnagalla@ti.com> Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Diffstat (limited to 'sound')
-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 21a4491de24f..4c8f9e4bd4fa 100644
--- a/sound/soc/omap/omap-hdmi.c
+++ b/sound/soc/omap/omap-hdmi.c
@@ -37,7 +37,9 @@
#include <plat/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)
static struct omap_pcm_dma_data omap_hdmi_dai_dma_params = {
.name = "HDMI playback",
@@ -124,7 +126,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,
},