]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Remove call to snd_sof_dsp_mailbox_init
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 7 Aug 2019 15:01:58 +0000 (10:01 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 9 Aug 2019 12:25:05 +0000 (13:25 +0100)
commit77e9208dffa8a39a884a71dfd924ade896fc579e
tree009fc30359cd853bb80bd4e52abe9a768a38f378
parent3330c884263ff4b057c08b226c25e51f54f65d0f
ASoC: SOF: Remove call to snd_sof_dsp_mailbox_init

This is reserved for some historical reason, we didn't enable memory
windows for byt/bdw at the beginning, to make it compatible, we get
those mailbox offsets from fw_ready struct firstly, and then update them
if they existed in the following memory windows, to make sure the
mailbox still can be used if no memory windows are created.

With this change all platforms have the same implementation for
xxx_fw_ready function so that we can refactor it in a common file.

Suggested-by: Keyon Jie <yang.jie@linux.intel.com>
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-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/bdw.c
sound/soc/sof/intel/byt.c