Skip to content

Commit 9132177

Browse files
committed
debug: Add additional diff
Compare init state with the set_alsa_settings state. Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
1 parent 509df34 commit 9132177

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

case-lib/lib.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,11 @@ set_alsa_settings()
11541154
{
11551155
# This will bring the machine ALSA state to a common known point - a good baseline
11561156
alsactl init
1157+
1158+
# START DEBUG
1159+
alsactl store --file /tmp/after_alsactl_init_to_diff
1160+
# ENDED DEBUG
1161+
11571162
# ZEPHYR platform shares same tplg, remove '_ZEPHYR' from platform name
11581163
local PNAME="${1%_ZEPHYR}"
11591164
dlogi "Run alsa setting for $PNAME"
@@ -1180,6 +1185,11 @@ set_alsa_settings()
11801185
fi
11811186
;;
11821187
esac
1188+
1189+
# START DEBUG
1190+
alsactl store --file /tmp/after_set_alsa_settings_to_diff
1191+
diff /tmp/after_alsactl_init_to_diff /tmp/after_set_alsa_settings_to_diff
1192+
# ENDED DEBUG
11831193
}
11841194

11851195
reset_sof_volume()

0 commit comments

Comments
 (0)