diff options
author | Amadeusz Sławiński <[email protected]> | 2021-10-15 18:12:57 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-10-29 16:49:45 +0100 |
commit | 6c504663ba2ee2abeaf5622e27082819326c1bd4 (patch) | |
tree | c0652c69df56f75acc5045646940a74441497495 /scripts/gdb/linux/utils.py | |
parent | f714fbc1e89a3533b2578e0c90ce4f5c05a57f96 (diff) |
ASoC: Stop dummy from overriding hwparams
In case that there are other components assigned to runtime device,
depending on order dummy component can override their params with its
own, which shouldn't happen. Check if there are any other components
assigned to rtd and if so, skip setting hwparams.
Occurs when using topology where 'snd-soc-dummy' gets assigned by
default as codec and platform component.
Alternative approach would be to copy whole dummy handling and rename it
to "snd-soc-null" or something similar. And remove hwparams assignment
to make it really do nothing.
Signed-off-by: Amadeusz Sławiński <[email protected]>
Signed-off-by: Cezary Rojewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions