ASoC: SOF: Intel: bdw: Use generic function for fw ready / mem windows creation
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 7 Aug 2019 15:02:02 +0000 (10:02 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 9 Aug 2019 12:25:13 +0000 (13:25 +0100)
commitddf14b640b05839cfe44d686d5a5cc7c55076094
tree24a31960f40de841704901a42489f7b73d201cb3
parent0b76f512c206dd7c3f7761b24826887af80204c6
ASoC: SOF: Intel: bdw: Use generic function for fw ready / mem windows creation

bdw_get_windows / bdw_fw_ready is identical with the generic
implementation introduced in a previous patch.

So remove bdw_get_windows / bdw_fw_ready and use the generic
sof_get_windows version.

Do not forget to implement get_mailbox_offset/get_window_offset
so that we export the correct mailbox/memory window offset to
the outside world.

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-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/bdw.c