aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/hdmi.c
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2013-11-19 14:12:25 +0200
committerJon Medhurst <tixy@linaro.org>2015-06-30 10:13:02 +0100
commit8d54389ff5a97ceec2472c792426c239157f43d2 (patch)
treea2490a63a74303424a36b86474a65582c10ad5ad /sound/soc/codecs/hdmi.c
parent6b3a8b3310115d434dd3a08448af1a9875b18799 (diff)
ASoC: hdmi-codec: Add SNDRV_PCM_FMTBIT_32_LE playback format
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> (cherry picked from commit c600e95360dac3a3b88f0a2106214dff8e5f56be) Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'sound/soc/codecs/hdmi.c')
-rw-r--r--sound/soc/codecs/hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c
index 68342b121c96..32797a8e4ee9 100644
--- a/sound/soc/codecs/hdmi.c
+++ b/sound/soc/codecs/hdmi.c
@@ -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",