diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2024-08-27 20:32:04 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-28 13:01:55 +0100 |
commit | 775c1a4aa640c701eb67d3954a375000d2be3af5 (patch) | |
tree | 39317cd2f74a1ce549e8dc48945fad6323656806 /init | |
parent | 85b66359c5a76ce613bd75460e4646e8a27b1e2f (diff) |
ASoC: Intel: sof_sdw: move ignore_internal_dmic check earlier
dmic links will not be created if ctx->ignore_internal_dmic is set, and
dmic_num should be 0 in this case. Move ignore_internal_dmic check
earlier where dmic_num is set to get an accurate dmic_num.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://patch.msgid.link/20240827123215.258859-7-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions