Skip to content

Commit 265e41c

Browse files
committed
tplgtool2.py: do not silently ignore unsupported "dump type" args
No typo left behind. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent a794795 commit 265e41c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/tplgtool2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ def main():
13301330
errors = 0
13311331
for f in files:
13321332
tplg = GroupedTplg(tplgFormat.parse_file(f))
1333+
assert set(dump_types) <= set(supported_dump), f"unsupported type in {dump_types}"
13331334
if 'pcm' in dump_types:
13341335
tplg.print_pcm_info()
13351336
if 'graph' in dump_types:

0 commit comments

Comments
 (0)