diff options
author | Hari Nagalla <hnagalla@ti.com> | 2009-11-23 15:21:22 -0600 |
---|---|---|
committer | Jorge Eduardo Candelaria <jorge.candelaria@ti.com> | 2010-06-17 18:26:53 -0500 |
commit | 42ae39abdb9658baf5417ec9ce8d15e493c58d67 (patch) | |
tree | 47ec3118f0d5e9b74adbfc3ffaa4617194df0b76 | |
parent | 20ee9a95e2aa2edf8e90922b3a92e27b5277964b (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>
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
-rw-r--r-- | sound/soc/omap/omap-hdmi.c | 7 |
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, }, |