summaryrefslogtreecommitdiffstats
path: root/sound/last.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>2021-10-15 18:12:57 +0200
committerMark Brown <broonie@kernel.org>2021-10-29 16:49:45 +0100
commit6c504663ba2ee2abeaf5622e27082819326c1bd4 (patch)
treec0652c69df56f75acc5045646940a74441497495 /sound/last.c
parentf714fbc1e89a3533b2578e0c90ce4f5c05a57f96 (diff)
downloadlinux-6c504663ba2ee2abeaf5622e27082819326c1bd4.tar.bz2
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>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions