mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 18:12:26 -04:00
ASoC: SOF: Introduce snd_sof_dsp_get_mailbox_offset
This will allow us to export mailbox offset in order to read the fw_ready message from. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190807150203.26359-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
6eebd39075
commit
bb9c93f58c
@@ -198,6 +198,8 @@ struct snd_sof_dsp_ops {
|
||||
/* misc */
|
||||
int (*get_bar_index)(struct snd_sof_dev *sdev,
|
||||
u32 type); /* optional */
|
||||
int (*get_mailbox_offset)(struct snd_sof_dev *sdev);/* mandatory for common loader code */
|
||||
|
||||
/* DAI ops */
|
||||
struct snd_soc_dai_driver *drv;
|
||||
int num_drv;
|
||||
|
||||
Reference in New Issue
Block a user