aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2014-10-14 13:29:26 -0400
committerMark Brown <broonie@kernel.org>2014-10-20 07:20:26 -0400
commit74d813cf37c210e94d155b0c19598fe269b8f78c (patch)
treed2a9633c7298aa91dc0ba3685e12fba734364885 /sound
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
ASoC: hdmi: Mark the maximum significant bits to HDMI codec
HDMI audio can not have more than 24 bits even if on i2s bus there would be 32 bit samples. Mark this by adding .sig_bits = 24 to playback stream definition. Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/hdmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c
index 1087fd5f9917..2a52b9050371 100644
--- a/sound/soc/codecs/hdmi.c
+++ b/sound/soc/codecs/hdmi.c
@@ -47,6 +47,7 @@ static struct snd_soc_dai_driver hdmi_codec_dai = {
47 SNDRV_PCM_RATE_176400 | SNDRV_PCM_RATE_192000, 47 SNDRV_PCM_RATE_176400 | SNDRV_PCM_RATE_192000,
48 .formats = SNDRV_PCM_FMTBIT_S16_LE | 48 .formats = SNDRV_PCM_FMTBIT_S16_LE |
49 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE, 49 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE,
50 .sig_bits = 24,
50 }, 51 },
51 .capture = { 52 .capture = {
52 .stream_name = "Capture", 53 .stream_name = "Capture",