Asoc: qcom: lpass-platform : Increase buffer size
authorV Sujith Kumar Reddy <vsujithk@codeaurora.org>
Thu, 8 Oct 2020 05:17:02 +0000 (10:47 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 8 Oct 2020 19:27:35 +0000 (20:27 +0100)
Increase buffer size to support audio over DP.

Signed-off-by: V Sujith Kumar Reddy <vsujithk@codeaurora.org>
Signed-off-by: Srinivasa Rao Mandadapu <srivasam@codeaurora.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/1602134223-2562-7-git-send-email-srivasam@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-platform.c

index 49abbb2..36d1512 100644 (file)
@@ -23,7 +23,7 @@ struct lpass_pcm_data {
        int i2s_port;
 };
 
-#define LPASS_PLATFORM_BUFFER_SIZE     (16 * 1024)
+#define LPASS_PLATFORM_BUFFER_SIZE     (24 *  2 * 1024)
 #define LPASS_PLATFORM_PERIODS         2
 
 static const struct snd_pcm_hardware lpass_platform_pcm_hardware = {