From ab33f425a1e94088275b0625f8641b0fa8ba962d Mon Sep 17 00:00:00 2001 From: Ranjani Sridharan Date: Tue, 23 Sep 2025 13:54:51 -0700 Subject: [PATCH] topology2: include: common: pcm: Add quotes for string values Add quotes around the valid values for direction to prevent compilation errors with the latest alsa-lib that fails with the error: ALSA lib conf.c:1224:(parse_value) id is not an integer ALSA lib conf.c:2014:(_snd_config_load_with_include) _toplevel_:224:17:Unexpected char Signed-off-by: Ranjani Sridharan --- tools/topology/topology2/include/common/pcm.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/topology/topology2/include/common/pcm.conf b/tools/topology/topology2/include/common/pcm.conf index 01e9358bf758..ba014d084bee 100644 --- a/tools/topology/topology2/include/common/pcm.conf +++ b/tools/topology/topology2/include/common/pcm.conf @@ -25,9 +25,9 @@ Class.PCM."pcm" { DefineAttribute."direction" { constraints { !valid_values [ - playback - capture - duplex + "playback" + "capture" + "duplex" ] } }