summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
},