diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2019-09-27 23:05:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-01 20:34:50 +0300 |
commit | 8692d498d675e2e1433274c5f03b855824f3f35d (patch) | |
tree | 7c7c7bc121da964cfae3e2486668f4cc1eebbced /sound/soc/sof/sof-priv.h | |
parent | 9a06508bf7824ba34f2e1e9e08df505ac14a44c2 (diff) | |
download | linux-8692d498d675e2e1433274c5f03b855824f3f35d.tar.xz |
ASoC: SOF: core: check for mandatory fw_ready op during SOF probe
fw_ready should be a mandatory op. Make sure fw_ready ops is set
during probe.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190927200538.660-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index 348759035dd0..44f789bf7fb0 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -133,7 +133,7 @@ struct snd_sof_dsp_ops { * FW ready checks for ABI compatibility and creates * memory windows at first boot */ - int (*fw_ready)(struct snd_sof_dev *sdev, u32 msg_id); /* optional */ + int (*fw_ready)(struct snd_sof_dev *sdev, u32 msg_id); /* mandatory */ /* connect pcm substream to a host stream */ int (*pcm_open)(struct snd_sof_dev *sdev, |