diff options
author | Jyri Sarha <jsarha@ti.com> | 2014-10-14 20:29:26 +0300 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-01-15 21:18:42 -0600 |
commit | 084b0d98043e79ce373d8eaecca7e2296f2ec09f (patch) | |
tree | 7081b7544b5c68834c99c59e0d0b66bc122d5c3e /sound | |
parent | db07948a841ad23d7461c477578d244eb7a081ae (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>
(cherry picked from commit 74d813cf37c210e94d155b0c19598fe269b8f78c)
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/hdmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c index 9cb1c7d3e1dc..5e8c69aabfdd 100644 --- a/sound/soc/codecs/hdmi.c +++ b/sound/soc/codecs/hdmi.c @@ -46,6 +46,7 @@ static struct snd_soc_dai_driver hdmi_codec_dai = { SNDRV_PCM_RATE_176400 | SNDRV_PCM_RATE_192000, .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE, + .sig_bits = 24, }, .capture = { .stream_name = "Capture", |