mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
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>
This commit is contained in:
parent
d72da154a3
commit
e824f70d62
1 changed files with 4 additions and 2 deletions
|
|
@ -812,15 +812,17 @@ static int parse_flag(snd_config_t *n, unsigned int mask_in,
|
||||||
static int save_flags(unsigned int flags, unsigned int mask,
|
static int save_flags(unsigned int flags, unsigned int mask,
|
||||||
struct tplg_buf *dst, const char *pfx)
|
struct tplg_buf *dst, const char *pfx)
|
||||||
{
|
{
|
||||||
static unsigned int flag_masks[3] = {
|
static unsigned int flag_masks[4] = {
|
||||||
SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_RATES,
|
SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_RATES,
|
||||||
SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_CHANNELS,
|
SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_CHANNELS,
|
||||||
SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_SAMPLEBITS,
|
SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_SAMPLEBITS,
|
||||||
|
SND_SOC_TPLG_LNK_FLGBIT_VOICE_WAKEUP,
|
||||||
};
|
};
|
||||||
static const char *flag_ids[3] = {
|
static const char *flag_ids[4] = {
|
||||||
"symmetric_rates",
|
"symmetric_rates",
|
||||||
"symmetric_channels",
|
"symmetric_channels",
|
||||||
"symmetric_sample_bits",
|
"symmetric_sample_bits",
|
||||||
|
"ignore_suspend",
|
||||||
};
|
};
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue