From 25c1d0fef732d9f9ae9faf503e44016d355ccc75 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Wed, 18 Mar 2020 12:16:51 +0200 Subject: [PATCH] Topology: BDW, BYT, CHT: Reduce buffer size max for media PCM This change prevents the IPC error that happens if aplay or speaker-test uses larger than 64 kB buffer size. The buffer setting in PCM_CAPABILITIES() is now the same as for low latency PCM. Signed-off-by: Seppo Ingalsuo --- tools/topology/sof/pipe-pcm-media.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/topology/sof/pipe-pcm-media.m4 b/tools/topology/sof/pipe-pcm-media.m4 index ecfe7b883..3a3157b24 100644 --- a/tools/topology/sof/pipe-pcm-media.m4 +++ b/tools/topology/sof/pipe-pcm-media.m4 @@ -104,7 +104,9 @@ W_PIPELINE(SCHED_COMP, SCHEDULE_PERIOD, SCHEDULE_PRIORITY, SCHEDULE_CORE, SCHEDU # PCM capabilities supported by FW -PCM_CAPABILITIES(Media Playback PCM_ID, `S32_LE,S24_LE,S16_LE', PCM_MIN_RATE, PCM_MAX_RATE, 2, PIPELINE_CHANNELS, 2, 32, 192, 262144, 8388608, 8388608) +PCM_CAPABILITIES(Media Playback PCM_ID, `S32_LE,S24_LE,S16_LE', + PCM_MIN_RATE, PCM_MAX_RATE, 2, PIPELINE_CHANNELS, + 2, 16, 192, 16384, 65536, 65536) # PCM Media Playback SectionPCM.STR(Media Playback PCM_ID) {