OSDN Git Service

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

We can use generic sof_fw_ready function and reduce code duplication.
Careful here that we need to provide the implementation for
get_mailbox_offset and get_window_offset.

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