mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
asoc: msm: Add 32bit support for mi2s
Add support to handle 32 bit mi2s use cases in dai driver hw params. Change-Id: Id4b709f95fab8aaf8f7b63ae416b6da1ab213c89 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This commit is contained in:
parent
ae5dca4830
commit
ab093ac1b3
1 changed files with 4 additions and 0 deletions
|
|
@ -5510,6 +5510,10 @@ static int msm_dai_q6_mi2s_hw_params(struct snd_pcm_substream *substream,
|
|||
dai_data->port_config.i2s.bit_width = 24;
|
||||
dai_data->bitwidth = 24;
|
||||
break;
|
||||
case SNDRV_PCM_FORMAT_S32_LE:
|
||||
dai_data->port_config.i2s.bit_width = 32;
|
||||
dai_data->bitwidth = 32;
|
||||
break;
|
||||
default:
|
||||
pr_err("%s: format %d\n",
|
||||
__func__, params_format(params));
|
||||
|
|
|
|||
Loading…
Reference in a new issue