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
This commit is contained in:
Aditya Mohan
2020-10-12 13:46:42 +05:30
bovenliggende a9e1270b31
commit 8301940a18

Bestand weergeven

@@ -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,