Bladeren bron

asoc: Add 32bit support in meta i2s

Add 32bit PCM support in META I2S

Change-Id: I9dc09f853858f09a8bcd0a6529416abf1e159e71
Signed-off-by: Deeraj Soman <[email protected]>
Deeraj Soman 5 jaren geleden
bovenliggende
commit
2844b41480
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      asoc/msm-dai-q6-v2.c

+ 4 - 0
asoc/msm-dai-q6-v2.c

@@ -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));