From 8301940a18386b26cedc8c6c4f8eb9d312248fd0 Mon Sep 17 00:00:00 2001 From: Aditya Mohan Date: Mon, 12 Oct 2020 13:46:42 +0530 Subject: [PATCH] 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 --- asoc/codecs/wcd938x/wcd938x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asoc/codecs/wcd938x/wcd938x.c b/asoc/codecs/wcd938x/wcd938x.c index 5880ecff29..2bcda34c82 100644 --- a/asoc/codecs/wcd938x/wcd938x.c +++ b/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,