topology: Add ops to bytes control.

Byte controls can also support ops. Add them to the parser.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Liam Girdwood 2016-03-14 08:07:35 +00:00 committed by Takashi Iwai
parent dec428c352
commit 65cb4ffe3c

View file

@ -385,6 +385,14 @@ int tplg_parse_control_bytes(snd_tplg_t *tplg,
tplg_dbg("\t%s: %s\n", id, val); tplg_dbg("\t%s: %s\n", id, val);
continue; continue;
} }
if (strcmp(id, "ops") == 0) {
err = tplg_parse_compound(tplg, n, tplg_parse_ops,
&be->hdr);
if (err < 0)
return err;
continue;
}
} }
return 0; return 0;