Jelajahi Sumber

ASoC: bolero: Change params for vi feedback

Change max no of channels supported, format and rates
for wsa macro vi feedback.

CRs-Fixed: 2281591
Change-Id: Ie54ce4f63a02d661939ed732b388a3c26dd8ea2f
Signed-off-by: Vatsal Bucha <[email protected]>
Vatsal Bucha 6 tahun lalu
induk
melakukan
d1b694d0bb
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      asoc/codecs/bolero/wsa-macro.c

+ 4 - 4
asoc/codecs/bolero/wsa-macro.c

@@ -354,12 +354,12 @@ static struct snd_soc_dai_driver wsa_macro_dai[] = {
 		.id = WSA_MACRO_AIF_VI,
 		.capture = {
 			.stream_name = "WSA_AIF_VI Capture",
-			.rates = SNDRV_PCM_RATE_8000,
-			.formats = SNDRV_PCM_FMTBIT_S32_LE,
-			.rate_max = 8000,
+			.rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_48000,
+			.formats = WSA_MACRO_RX_FORMATS,
+			.rate_max = 48000,
 			.rate_min = 8000,
 			.channels_min = 1,
-			.channels_max = 2,
+			.channels_max = 4,
 		},
 		.ops = &wsa_macro_dai_ops,
 	},