Explorar el Código

asoc : Fix for 384k clips on headphones

hw_refine failing for clips of sample rate
384000 as codec is configured to support 192000
sample rate as max. Due to this playback is not
happpening over headphones.

Change the max to 384000.

Change-Id: I2f9cad3bc708f3e4cc8cd38eb2ef2a98ec640f57
Aditya Mohan hace 4 años
padre
commit
8301940a18
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      asoc/codecs/wcd938x/wcd938x.c

+ 2 - 2
asoc/codecs/wcd938x/wcd938x.c

@@ -4075,7 +4075,7 @@ static struct snd_soc_dai_driver wcd938x_dai[] = {
 			.stream_name = "WCD938X_AIF Playback",
                         .rates = WCD938X_RATES | WCD938X_FRAC_RATES,
 			.formats = WCD938X_FORMATS,
-			.rate_max = 192000,
+			.rate_max = 384000,
 			.rate_min = 8000,
 			.channels_min = 1,
 			.channels_max = 4,
@@ -4084,7 +4084,7 @@ static struct snd_soc_dai_driver wcd938x_dai[] = {
 			.stream_name = "WCD938X_AIF Capture",
                         .rates = WCD938X_RATES | WCD938X_FRAC_RATES,
 			.formats = WCD938X_FORMATS,
-			.rate_max = 192000,
+			.rate_max = 384000,
 			.rate_min = 8000,
 			.channels_min = 1,
 			.channels_max = 4,