diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-06-12 15:35:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-15 15:18:30 +0100 |
commit | 96bf62f018f40cb5d4e4bed95e50fd990a2354af (patch) | |
tree | 083fdc70cd16851ab8c8541db3c864b1c083c9c5 /sound/core | |
parent | 19ab0f005b165146ea4a93f71e9cb5e71de9c0ce (diff) | |
download | linux-96bf62f018f40cb5d4e4bed95e50fd990a2354af.tar.gz linux-96bf62f018f40cb5d4e4bed95e50fd990a2354af.tar.bz2 linux-96bf62f018f40cb5d4e4bed95e50fd990a2354af.zip |
ASoC: soc-pcm: fix checks for multi-cpu FE dailinks
soc_dpcm_fe_runtime_update() is called for all dailinks, and we want
to first discard all back-ends, then deal with front-ends.
The existing code first reports an error with multi-cpu front-ends,
and that check needs to be moved after we know that we are dealing
with a front-end.
Fixes: 6e1276a5e613d ('ASoC: Return error if the function does not support multi-cpu')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
BugLink: https://github.com/thesofproject/linux/issues/1970
Link: https://lore.kernel.org/r/20200612203507.25621-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions