diff options
author | Fred Oh <fred.oh@linux.intel.com> | 2020-11-27 18:40:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-27 17:23:06 +0000 |
commit | a70eb70827b4160ada657649c74647f8bb7768ae (patch) | |
tree | 362f676e73adfec4eb4dc66bdf0af965fd7faac4 /sound/soc/sof/ops.h | |
parent | e3a85dbe30cf4c6904640da10e7dbd18c4ee7be7 (diff) | |
download | linux-a70eb70827b4160ada657649c74647f8bb7768ae.tar.bz2 |
ASoC: SOF: ops: modify the signature of stall op
Modify the signature of stall op to specify core_mask to stall cores.
Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20201127164022.2498406-5-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ops.h')
-rw-r--r-- | sound/soc/sof/ops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/ops.h b/sound/soc/sof/ops.h index 77a6ac157d37..95e748b36903 100644 --- a/sound/soc/sof/ops.h +++ b/sound/soc/sof/ops.h @@ -48,10 +48,10 @@ static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev) return sof_ops(sdev)->run(sdev); } -static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev) +static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev, unsigned int core_mask) { if (sof_ops(sdev)->stall) - return sof_ops(sdev)->stall(sdev); + return sof_ops(sdev)->stall(sdev, core_mask); return 0; } |