ASoC: hdmi-codec: Add SNDRV_PCM_FMTBIT_32_LE playback format
authorJyri Sarha <jsarha@ti.com>
Tue, 19 Nov 2013 12:12:25 +0000 (14:12 +0200)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 13:40:11 +0000 (13:40 +0000)
The new playback format is needed for tda998x HDMI audio support. At
the moment the only other user of this codec is omap-hdmi-audio. This
change should not break anything because omap-hdmi-audio-dai, the
cpu-dai of omap-hdmi-audio, enforces sufficient constraints to
available sample formats.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/hdmi.c

index 68342b121c966aa7c90ace1384bbfbefe4737ab7..32797a8e4ee957a17a2d0fb9161766cc0db15082 100644 (file)
@@ -44,7 +44,7 @@ static struct snd_soc_dai_driver hdmi_codec_dai = {
                        SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 |
                        SNDRV_PCM_RATE_176400 | SNDRV_PCM_RATE_192000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE |
-                       SNDRV_PCM_FMTBIT_S24_LE,
+                       SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE,
        },
        .capture = {
                .stream_name = "Capture",