Codebase list alsa-lib / e824f70
topology: Add decompilation support for ignore_suspend Previous patch added build support for ignore_suspend, however it should be also possible to decompile binary back to human readable form and not lose data. Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz> Amadeusz Sławiński authored 2 years ago Jaroslav Kysela committed 1 year, 3 months ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
811811 static int save_flags(unsigned int flags, unsigned int mask,
812812 struct tplg_buf *dst, const char *pfx)
813813 {
814 static unsigned int flag_masks[3] = {
814 static unsigned int flag_masks[4] = {
815815 SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_RATES,
816816 SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_CHANNELS,
817817 SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_SAMPLEBITS,
818 SND_SOC_TPLG_LNK_FLGBIT_VOICE_WAKEUP,
818819 };
819 static const char *flag_ids[3] = {
820 static const char *flag_ids[4] = {
820821 "symmetric_rates",
821822 "symmetric_channels",
822823 "symmetric_sample_bits",
824 "ignore_suspend",
823825 };
824826 unsigned int i;
825827 int err = 0;