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
811 | 811 | static int save_flags(unsigned int flags, unsigned int mask, |
812 | 812 | struct tplg_buf *dst, const char *pfx) |
813 | 813 | { |
814 | static unsigned int flag_masks[3] = { | |
814 | static unsigned int flag_masks[4] = { | |
815 | 815 | SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_RATES, |
816 | 816 | SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_CHANNELS, |
817 | 817 | SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_SAMPLEBITS, |
818 | SND_SOC_TPLG_LNK_FLGBIT_VOICE_WAKEUP, | |
818 | 819 | }; |
819 | static const char *flag_ids[3] = { | |
820 | static const char *flag_ids[4] = { | |
820 | 821 | "symmetric_rates", |
821 | 822 | "symmetric_channels", |
822 | 823 | "symmetric_sample_bits", |
824 | "ignore_suspend", | |
823 | 825 | }; |
824 | 826 | unsigned int i; |
825 | 827 | int err = 0; |