From: Jyri Sarha Date: Tue, 14 Oct 2014 17:29:26 +0000 (+0300) Subject: ASoC: hdmi: Mark the maximum significant bits to HDMI codec X-Git-Tag: v3.19-rc1~119^2~20^2~16^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74d813cf37c210e94d155b0c19598fe269b8f78c;p=karo-tx-linux.git 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 Signed-off-by: Mark Brown --- 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 = { 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",