]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Remove sst_dsp_get_thread_context
authorCezary Rojewski <cezary.rojewski@intel.com>
Tue, 6 Oct 2020 06:49:07 +0000 (08:49 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 6 Oct 2020 14:12:29 +0000 (15:12 +0100)
commit8f3389f8afc36b143bd370444ad7edcd35a6f081
treefe34cce867b34ba26894c08245613dfc3ba5c4f1
parenta6f191c1fa6646d37b26a91bf21369bfaa0dc54c
ASoC: Intel: Remove sst_dsp_get_thread_context

While sst_dsp_get_thread_context() is declared as solution-agnostic, it
is only used by /skylake/ solution. Majority of thread_context field
usages are direct accesses. Improve code cohesiveness and convert to
single usage model.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://lore.kernel.org/r/20201006064907.16277-14-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-dsp-priv.h
sound/soc/intel/skylake/cnl-sst.c
sound/soc/intel/skylake/skl-sst-ipc.c