Amadeusz Sławiński 6c504663ba
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 <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20211015161257.27052-7-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-10-29 16:49:45 +01:00
..
2021-09-03 15:33:47 -07:00
2021-10-18 13:50:42 +01:00
2021-07-05 19:34:22 +02:00
2021-10-12 22:13:11 +02:00
2021-04-27 08:39:39 +02:00
2021-08-04 08:07:58 +02:00
2021-03-07 09:07:16 +01:00
2021-03-07 09:07:16 +01:00