asoc: Add 32bit support in meta i2s

Add 32bit PCM support in META I2S

Change-Id: I9dc09f853858f09a8bcd0a6529416abf1e159e71
Signed-off-by: Deeraj Soman <sdeeraj@codeaurora.org>
This commit is contained in:
Deeraj Soman 2020-03-20 19:21:49 +09:00 • committed by Gerrit - the friendly Code Review server
commit 2844b41480

View file

@ -7021,6 +7021,10 @@ static int msm_dai_q6_meta_mi2s_hw_params(struct snd_pcm_substream *substream,
port_cfg->bit_width = 24;
dai_data->bitwidth = 24;
break;
case SNDRV_PCM_FORMAT_S32_LE:
port_cfg->bit_width = 32;
dai_data->bitwidth = 32;
break;
default:
pr_err("%s: format %d\n",
__func__, params_format(params));